FTPClientConnection100Class.SendFiles 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從本機電腦將檔案傳送到 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 伺服器。
實作
- 屬性