'Declaration Public Overloads Shared Sub Receive( _ ByVal hostname As String, _ ByVal localDestinationFolder As String, _ ByVal ParamArray filesToReceive() As String _ )
'Usage Dim hostname As String Dim localDestinationFolder As String Dim filesToReceive() As String QuickFtp.Receive(hostname, localDestinationFolder, filesToReceive)
public static void Receive( string hostname, string localDestinationFolder, params string[] filesToReceive )
Parameters
- hostname
- The hostname of the FTP server to connect to. An IP address can also be used.
- localDestinationFolder
- The local destination folder into which the files will be placed.
- filesToReceive
- A list of strings representing the files to be gotten. File paths may not start with a \ or a /. If a path represents a folder, it must end with a / or a \.