NetXP 3.0 Reference

FTP Methods

The methods of the FTP class are listed below. For a complete list of FTP class members, see the FTP Members topic.

Public Instance Methods

ChangeDirectory Change the current working directory on the remote FTP server.
Close Close the FTP connection.
CreateDirectory Create a directory on the remote FTP server.
DeleteRemoteFile Delete a file from the remote FTP server.
DownloadOverloaded. Download a file to the Assembly's local directory, keeping the same file name.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetFileList Returns a string array containing the remote directory's file list.
GetFileSize Gets the size of a file.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
Login Logs in to an FTP server.
RemoveDirectory Delete a directory on the remote FTP server.
RenameRemoteFile Rename a file on the remote FTP server. KNOWN PROBLEM: RNTO will not take care of existing file. i.e. It will overwrite if newFileName exist
SetBinaryMode If the value of mode is true, set binary mode for downloads. Else, set Ascii mode.
SetDebug Set debug mode.
ToString (inherited from Object)Returns a String that represents the current Object.
UploadOverloaded. Upload a file.

See Also

FTP Class | NETXP.Library Namespace