FTPClientConnection100Class.SendFiles Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sends the files from the local computer to the FTP server.
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)
Parameters
- localFileNames
- String[]
A list of files to send to the FTP server.
- remotePath
- String
The remote folder to which the sent files are saved.
- overWrite
- Boolean
true to overwrite destination files if it exist; otherwise, false.
- transferASCII
- Boolean
true to transfer files to FTP server in ASCII mode; false, to transfer files to FTP server in binary mode.
Implements
- Attributes