FTPClientConnection100Class.SendFiles 方法

定義

從本機電腦將檔案傳送到 FTP 伺服器。

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

參數

localFileNames
String[]

要傳送至 FTP 伺服器的檔案清單。

remotePath
String

要儲存所傳送檔案的遠端資料夾。

overWrite
Boolean

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

transferASCII
Boolean

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

實作

屬性

適用於