FTPClientConnection100Class.ReceiveFiles 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Receives the files from the FTP server.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Public Overridable Sub ReceiveFiles ( _
    remoteFileNames As String(), _
    localPath As String, _
    overWrite As Boolean, _
    transferASCII As Boolean _
)
'用途
Dim instance As FTPClientConnection100Class 
Dim remoteFileNames As String()
Dim localPath As String 
Dim overWrite As Boolean 
Dim transferASCII As Boolean

instance.ReceiveFiles(remoteFileNames, _
    localPath, overWrite, transferASCII)
public virtual void ReceiveFiles(
    string[] remoteFileNames,
    string localPath,
    bool overWrite,
    bool transferASCII
)
public:
virtual void ReceiveFiles(
    [InAttribute] array<String^>^ remoteFileNames, 
    [InAttribute] String^ localPath, 
    [InAttribute] bool overWrite, 
    [InAttribute] bool transferASCII
)
abstract ReceiveFiles : 
        remoteFileNames:string[] * 
        localPath:string * 
        overWrite:bool * 
        transferASCII:bool -> unit  
override ReceiveFiles : 
        remoteFileNames:string[] * 
        localPath:string * 
        overWrite:bool * 
        transferASCII:bool -> unit
public function ReceiveFiles(
    remoteFileNames : String[], 
    localPath : String, 
    overWrite : boolean, 
    transferASCII : boolean
)

參數

  • remoteFileNames
    型別:array<System.String[]
    A list of files to receive from the FTP server.
  • localPath
    型別:System.String
    The local folder into which the received files are saved.
  • overWrite
    型別:System.Boolean
    true to overwrite destination files if it exist; otherwise, false.
  • transferASCII
    型別:System.Boolean
    true to transfer files from FTP server in ASCII mode; false, to transfer files from FTP server in binary mode.

實作

IDTSFtpClientConnection100.ReceiveFiles(array<String[], String, Boolean, Boolean)

請參閱

參考

FTPClientConnection100Class 類別

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間