Condividi tramite


Metodo FTPClientConnection100Class.SendFiles

Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.

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

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintassi

'Dichiarazione
Public Overridable Sub SendFiles ( _
    localFileNames As String(), _
    remotePath As String, _
    overWrite As Boolean, _
    transferASCII As Boolean _
)
'Utilizzo
Dim instance As FTPClientConnection100Class 
Dim localFileNames As String()
Dim remotePath As String 
Dim overWrite As Boolean 
Dim transferASCII As Boolean

instance.SendFiles(localFileNames, remotePath, _
    overWrite, transferASCII)
public virtual void SendFiles(
    string[] localFileNames,
    string remotePath,
    bool overWrite,
    bool transferASCII
)
public:
virtual 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  
override SendFiles : 
        localFileNames:string[] * 
        remotePath:string * 
        overWrite:bool * 
        transferASCII:bool -> unit
public function SendFiles(
    localFileNames : String[], 
    remotePath : String, 
    overWrite : boolean, 
    transferASCII : boolean
)

Parametri

  • localFileNames
    Tipo: array<System.String[]
    A list of files to send to the FTP server.
  • remotePath
    Tipo: System.String
    The remote folder to which the sent files are saved.
  • overWrite
    Tipo: System.Boolean
    true to overwrite destination files if it exist; otherwise, false.
  • transferASCII
    Tipo: System.Boolean
    true to transfer files to FTP server in ASCII mode; false, to transfer files to FTP server in binary mode.

Implementa

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

Vedere anche

Riferimento

FTPClientConnection100Class Classe

Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Wrapper