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;否则为 false。
- transferASCII
- Boolean
如果以 ASCII 模式从 FTP 服务器传输文件,则为 true;如果为 false,则以二进制模式从 FTP 服务器传输文件。
实现
- 属性