FTPClientConnection100Class.SendFiles Method (String , String, Boolean, Boolean)

 

Applies To: SQL Server 2016 Preview

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

Sends the files from the local computer to the FTP server.

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

Syntax

[DispIdAttribute(19)]
public virtual void SendFiles(
    string[] localFileNames,
    string remotePath,
    bool overWrite,
    bool transferASCII
)
public:
[DispIdAttribute(19)]
virtual void SendFiles(
    array<String^>^ localFileNames,
    String^ remotePath,
    bool overWrite,
    bool transferASCII
)
[<DispIdAttribute(19)>]
abstract SendFiles : 
        localFileNames:string[] *
        remotePath:string *
        overWrite:bool *
        transferASCII:bool -> unit
[<DispIdAttribute(19)>]
override SendFiles : 
        localFileNames:string[] *
        remotePath:string *
        overWrite:bool *
        transferASCII:bool -> unit
<DispIdAttribute(19)>
Public Overridable Sub SendFiles (
    localFileNames As String(),
    remotePath As String,
    overWrite As Boolean,
    transferASCII As Boolean
)

Parameters

  • localFileNames
    Type: System.String[]

    A list of files to send to the FTP server.

  • remotePath
    Type: System.String

    The remote folder to which the sent files are saved.

  • overWrite
    Type: System.Boolean

    true to overwrite destination files if it exist; otherwise, false.

  • transferASCII
    Type: System.Boolean

    true to transfer files to FTP server in ASCII mode; false, to transfer files to FTP server in binary mode.

Implements

IDTSFtpClientConnection100.SendFiles(String[], String, Boolean, Boolean)

See Also

FTPClientConnection100Class Class
Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace

Return to top