FTPClientConnection100Class Classe
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Fornisce proprietà e metodi per un compito client FTP.
public ref class FTPClientConnection100Class : Microsoft::SqlServer::Dts::Runtime::Wrapper::FTPClientConnection100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("CCCD3499-1569-4001-AC4E-AA6A1B53F0D4")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class FTPClientConnection100Class : Microsoft.SqlServer.Dts.Runtime.Wrapper.FTPClientConnection100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("38BFBCC8-3C1E-4E28-8417-8C5401BBBF27")]
public class FTPClientConnection100Class : Microsoft.SqlServer.Dts.Runtime.Wrapper.FTPClientConnection100
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("D7623778-554E-4538-A5D3-A80E77047B93")]
public class FTPClientConnection100Class : Microsoft.SqlServer.Dts.Runtime.Wrapper.FTPClientConnection100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("CCCD3499-1569-4001-AC4E-AA6A1B53F0D4")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type FTPClientConnection100Class = class
interface IDTSFtpClientConnection100
interface FTPClientConnection100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("38BFBCC8-3C1E-4E28-8417-8C5401BBBF27")>]
type FTPClientConnection100Class = class
interface IDTSFtpClientConnection100
interface FTPClientConnection100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("D7623778-554E-4538-A5D3-A80E77047B93")>]
type FTPClientConnection100Class = class
interface IDTSFtpClientConnection100
interface FTPClientConnection100
Public Class FTPClientConnection100Class
Implements FTPClientConnection100
- Ereditarietà
-
FTPClientConnection100Class
- Attributi
- Implementazioni
Costruttori
| Nome | Descrizione |
|---|---|
| FTPClientConnection100Class() |
Inizializza una nuova istanza della classe FTPClientConnection100Class. |
Proprietà
| Nome | Descrizione |
|---|---|
| ChunkSize |
Ottiene o imposta la quantità di dati in byte per il trasferimento dei dati. |
| Retries |
Ottiene o imposta il numero di volte in cui il compito tenta un'operazione. |
| ServerName |
Ottiene o imposta il nome del server FTP. |
| ServerPassword |
Ottiene o imposta la password per l'autenticazione. |
| ServerPort |
Ottiene o imposta la porta server FTP. |
| ServerUserName |
Ottiene o imposta l'alias di accesso dell'utente. |
| Timeout |
Ottiene o imposta un valore che indica quanto tempo tentare la connessione prima di scadere il tempo. |
| UsePassiveMode |
Riceve o imposta un valore che indica se il compito invia e riceve file in modalità passiva. |
Metodi
| Nome | Descrizione |
|---|---|
| Close() |
Chiude la connessione al server FTP. |
| Connect() |
Tentativi di stabilire una connessione con un server FTP. |
| CreateRemoteDirectory(String) |
Crea la cartella specificata sul server FTP. |
| DeleteFiles(String[]) |
Elimina la lista dei file sul server FTP. |
| DeleteRemoteDirectory(String) |
Elimina la cartella specificata sul server FTP. |
| GetListing(String[], String[]) |
Riceve un elenco dei file nella directory di lavoro attuale. |
| GetWorkingDirectory() |
Ottiene la directory di lavoro corrente. |
| ReceiveFiles(String[], String, Boolean, Boolean) |
Riceve i file dal server FTP. |
| SendFiles(String[], String, Boolean, Boolean) |
Invia i file dal computer locale al server FTP. |
| SetWorkingDirectory(String) |
Imposta la directory di lavoro corrente sul percorso specificato. |