Dela via


IDTSFtpClientConnection100.SendFiles Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Send files to a remote location.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Sub SendFiles ( _
    localFileNames As String(), _
    remotePath As String, _
    overWrite As Boolean, _
    transferASCII As Boolean _
)
'Usage
Dim instance As IDTSFtpClientConnection100 
Dim localFileNames As String()
Dim remotePath As String 
Dim overWrite As Boolean 
Dim transferASCII As Boolean

instance.SendFiles(localFileNames, remotePath, _
    overWrite, transferASCII)
void SendFiles(
    string[] localFileNames,
    string remotePath,
    bool overWrite,
    bool transferASCII
)
void SendFiles(
    [InAttribute] array<String^>^ localFileNames, 
    [InAttribute] String^ remotePath, 
    [InAttribute] bool overWrite, 
    [InAttribute] bool transferASCII
)
abstract SendFiles : 
        localFileNames:string[] * 
        remotePath:string * 
        overWrite:bool * 
        transferASCII:bool -> unit
function SendFiles(
    localFileNames : String[], 
    remotePath : String, 
    overWrite : boolean, 
    transferASCII : boolean
)

Parameters

  • localFileNames
    Type: array<System.String[]
    The local file name.
  • 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.

See Also

Reference

IDTSFtpClientConnection100 Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace