FTPClientConnection100Class.ReceiveFiles 方法

定義

從 FTP 伺服器接收檔案。

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)

參數

remoteFileNames
String[]

要從 FTP 伺服器接收的檔案清單。

localPath
String

要儲存所接收檔案的本機資料夾。

overWrite
Boolean

true 表示覆寫目的地檔案(如果存在的話);否則為 false。

transferASCII
Boolean

true 表示以 ASCII 模式從 FTP 伺服器傳輸檔案;false,以二進位模式從 FTP 伺服器傳輸檔案。

實作

屬性

適用於