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

如果文件将覆盖现有文件,则为 True;否则为 false。

transferASCII
Boolean

如果文件传输 ASCII,则为 True;否则为 false。

属性

适用于