语言

IDTSFtpClientConnection100.SendFiles 方法

定义

把文件发送到远程地点。

public:
 void SendFiles(cli::array <System::String ^> ^ localFileNames, System::String ^ remotePath, bool overWrite, bool transferASCII);
[System.Runtime.InteropServices.DispId(19)]
public void SendFiles(string[] localFileNames, string remotePath, bool overWrite, bool transferASCII);
[<System.Runtime.InteropServices.DispId(19)>]
abstract member SendFiles : string[] * string * bool * bool -> unit
Public Sub SendFiles (localFileNames As String(), remotePath As String, overWrite As Boolean, transferASCII As Boolean)

参数

localFileNames
String[]

本地文件名。

remotePath
String

偏远的小路。

overWrite
Boolean

如果文件会覆盖现有文件,则为真;否则,就是假的。

transferASCII
Boolean

如果文件传输ASCII,则为真;否则,就是假的。

属性

适用于