The hostname of the FTP server to connect to. An IP address can also be used.
The port of the FTP server to which to connect to. If 0 is passed, 990 is used if implicitAuthentication is true; otherwise, 21 is used.
The username used to connect to the FTP server.
The password used to connect to the FTP server.
The authentication method to use when connecting to the FTP server. Not applicable to the Compact Framework version.
The verification flags used to verify the FTP server's certificate. Not applicable to the Compact Framework version.
The certificate used when connecting to the FTP server. Can be null. Not applicable to the Compact Framework version.
The DataChannelProtection used during the communication. Ignored if implicitAuthentication is true. Not applicable to the Compact Framework version.
If true, the SSL handshake occurs at the very beginning of the connection; otherwise, the AUTH command is sent after the Welcome message to initiate the SSL handshake. Not applicable to the Compact Framework version.
The path of the remote folder where the file must be copied into
true if existing items in the destination should be replaced; false otherwise.
Boolean value indicating if files contained within sub-folders should be got from the ftp host
Boolean value indicating if the directory structure should be preserved in the destination folder
The object used to automatically redirect events on the main UI thread; null if not required. Not applicable to the Compact Framework version.
Delegate for CertificateReceived notification. Not applicable to the Compact Framework version.
Delegate for CertificateRequired notification. Not applicable to the Compact Framework version.
Delegate for ByteProgression notification.
Delegate for ItemProgression notification.
Opaque data that will be passed back to the event handler when an event is raised.
A list of strings representing the files to be put. File paths may not
start with a \ or a /. If a path represents a folder, it must end with a / or a \.
Sends a list of files to a remote folder on an FTP server, specifying a port, a username/password, an authentication method, whether authentication is implicit, verification flags, a certificate, data channel protection, whether existing files are replaced, files are sent recursively, and paths are preserved at destination, delegates for notifications, and a synchronizing object.
The hostname of the FTP server to connect to. An IP address can also be used.
port
The port of the FTP server to which to connect to. If 0 is passed, 990 is used if implicitAuthentication is true; otherwise, 21 is used.
username
The username used to connect to the FTP server.
password
The password used to connect to the FTP server.
authenticationMethod
The authentication method to use when connecting to the FTP server. Not applicable to the Compact Framework version.
verificationFlags
The verification flags used to verify the FTP server's certificate. Not applicable to the Compact Framework version.
clientCertificate
The certificate used when connecting to the FTP server. Can be null. Not applicable to the Compact Framework version.
dataChannelProtection
The DataChannelProtection used during the communication. Ignored if implicitAuthentication is true. Not applicable to the Compact Framework version.
implicitAuthentication
If true, the SSL handshake occurs at the very beginning of the connection; otherwise, the AUTH command is sent after the Welcome message to initiate the SSL handshake. Not applicable to the Compact Framework version.
remoteDestinationFolder
The path of the remote folder where the file must be copied into
replaceExistingFiles
true if existing items in the destination should be replaced; false otherwise.
recursive
Boolean value indicating if files contained within sub-folders should be got from the ftp host
preservePaths
Boolean value indicating if the directory structure should be preserved in the destination folder
synchronizingObject
The object used to automatically redirect events on the main UI thread; null if not required. Not applicable to the Compact Framework version.
certificateReceivedCallback
Delegate for CertificateReceived notification. Not applicable to the Compact Framework version.
certificateRequiredCallback
Delegate for CertificateRequired notification. Not applicable to the Compact Framework version.
byteProgressionCallback
Delegate for ByteProgression notification.
itemProgressionCallback
Delegate for ItemProgression notification.
userParams
Opaque data that will be passed back to the event handler when an event is raised.
filesToSend
A list of strings representing the files to be put. File paths may not
start with a \ or a /. If a path represents a folder, it must end with a / or a \.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2