protected _cmdPutScript ( string $scriptname, string $scriptdata ) | ||
$scriptname | string | Name of the new script. |
$scriptdata | string | The new script. |
protected function _cmdPutScript($scriptname, $scriptdata)
{
$this->_checkAuthenticated();
$command = sprintf("PUTSCRIPT %s {%d+}\r\n%s", $this->_escape($scriptname), strlen($scriptdata), $scriptdata);
$this->_doCmd($command);
}