'Declaration Public Overloads Shared Sub Send( _ ByVal hostname As String, _ ByVal port As Integer, _ ByVal remoteDestinationFolder As String, _ ByVal ParamArray filesToSend() As String _ )
'Usage Dim hostname As String Dim port As Integer Dim remoteDestinationFolder As String Dim filesToSend() As String QuickFtp.Send(hostname, port, remoteDestinationFolder, filesToSend)
public static void Send( string hostname, int port, string remoteDestinationFolder, params string[] filesToSend )
Parameters
- hostname
- 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.
- remoteDestinationFolder
- The remote destination folder into which the files will be placed.
- filesToSend
- A list of strings representing the files to be transferred. File paths may not start with a \ or a /. If a path represents a folder, it must end with a / or a \.