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;否则,就是假的。
- transferASCII
- Boolean
在 ASCII 模式下将文件传输到 FTP 服务器时为 true;false,以二进制模式将文件传输到FTP服务器。
实现
- 属性