FtpSite

The FtpSite method sends a Site command to the FTP server.

Syntax:

>>--myftpobj~FtpSite(cmd)------------------------------------------------><

Arguments:

cmd

The Site command to be executed on the server.

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:

FTPCOMMAND

The internal FTP command or the arguments to the method are in error.