IDTSFtpClientConnection100.ReceiveFiles Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Receives files from a remote location..
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntax
'Declaration
Sub ReceiveFiles ( _
remoteFileNames As String(), _
localPath As String, _
overWrite As Boolean, _
transferASCII As Boolean _
)
'Usage
Dim instance As IDTSFtpClientConnection100
Dim remoteFileNames As String()
Dim localPath As String
Dim overWrite As Boolean
Dim transferASCII As Boolean
instance.ReceiveFiles(remoteFileNames, _
localPath, overWrite, transferASCII)
void ReceiveFiles(
string[] remoteFileNames,
string localPath,
bool overWrite,
bool transferASCII
)
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
function ReceiveFiles(
remoteFileNames : String[],
localPath : String,
overWrite : boolean,
transferASCII : boolean
)
Parameters
- remoteFileNames
Type: array<System.String[]
The remote filename.
- localPath
Type: System.String
The destination path.
- overWrite
Type: System.Boolean
True if the file will overwrite the existing file; otherwise, false.
- transferASCII
Type: System.Boolean
True if the file transfers ASCII; otherwise, false.