Xceed .NET Libraries Documentation
Send(String,Int32,String,String[]) Method


Xceed.Ftp Assembly > Xceed.Ftp Namespace > QuickFtp Class > Send Method : Send(String,Int32,String,String[]) Method
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.
The remote destination folder into which the files will be placed.
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 \.
Sends a list of files to a remote folder on an FTP server, specifying a port number.
Syntax
'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 \.
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

See Also

Reference

QuickFtp Class
QuickFtp Members
Overload List