NetXP 3.0 Reference

FTP Members

FTP overview

Public Instance Constructors

FTP Constructor Constructs a new FTP connection.

Public Instance Properties

RemoteHost Gets/sets the name of the FTP server to connect to.
RemotePass Gets/sets the password to use for logging into the remote server.
RemotePath Gets/sets the remote directory path.
RemotePort Gets/sets the port number to use for FTP.
RemoteUser Gets/sets the user name to use for logging into the remote server.

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