The FtpChDir method changes the current directory on the FTP server. If this command fails the directory on the server remains unchanged.
Syntax:
>>-- myftpobj~FtpChDir(newdir)-------------------------------------------><
Arguments:
The directory name and optional path to the directory to be made the current directory.
Return Values:
A value of 0 indicates successful execution of the method. The value -1 indicates an error. You can get the specific error code by inspection of the method FtpErrno. Possible values:
The internal FTP command or the arguments to the method are in error.