FTPClientConnection100Class.ReceiveFiles 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从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;否则,就是假的。
- transferASCII
- Boolean
在 ASCII 模式下,从FTP服务器传输文件为true;false,以二进制模式从FTP服务器传输文件。
实现
- 属性