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
如果目標檔案存在,則會覆蓋;否則,則為錯誤。
- transferASCII
- Boolean
在 ASCII 模式下,將檔案傳送到 FTP 伺服器時是 true;false,以二進位模式將檔案傳輸到 FTP 伺服器。
實作
- 屬性