The FtpPwd method returns the current directory name and path on the FTP server. The information is placed in the attribute Response as an Object Rexx array of lines. However, this method always returns a single line to the array if it succeeds. The array will be empty if this method encounters an error.


>>-- myftpobj~FtpPwd()---------------------------------------------------><



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.