Share via


FTPClientConnection100Class.ReceiveFiles Method

Definition

Receives the files from the FTP server.

public:
 virtual void ReceiveFiles(cli::array <System::String ^> ^ remoteFileNames, System::String ^ localPath, bool overWrite, bool transferASCII) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSFtpClientConnection100::ReceiveFiles;
[System.Runtime.InteropServices.DispId(17)]
public virtual void ReceiveFiles (string[] remoteFileNames, string localPath, bool overWrite, bool transferASCII);
[<System.Runtime.InteropServices.DispId(17)>]
abstract member ReceiveFiles : string[] * string * bool * bool -> unit
override this.ReceiveFiles : string[] * string * bool * bool -> unit
Public Overridable Sub ReceiveFiles (remoteFileNames As String(), localPath As String, overWrite As Boolean, transferASCII As Boolean)

Parameters

remoteFileNames
String[]

A list of files to receive from the FTP server.

localPath
String

The local folder into which the received files are saved.

overWrite
Boolean

true to overwrite destination files if it exist; otherwise, false.

transferASCII
Boolean

true to transfer files from FTP server in ASCII mode; false, to transfer files from FTP server in binary mode.

Implements

Attributes

Applies to