FTPClientConnection100Class Kelas
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Menyediakan properti dan metode untuk tugas klien 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
- Warisan
-
FTPClientConnection100Class
- Atribut
- Penerapan
Konstruktor
| FTPClientConnection100Class() |
Menginisialisasi instans baru kelas FTPClientConnection100Class. |
Properti
| ChunkSize |
Mendapatkan atau mengatur jumlah data dalam byte untuk transfer data. |
| Retries |
Mendapatkan atau mengatur berapa kali tugas mencoba operasi. |
| ServerName |
Mendapatkan atau mengatur nama server FTP. |
| ServerPassword |
Mendapatkan atau mengatur kata sandi untuk autentikasi. |
| ServerPort |
Mendapatkan atau mengatur port server FTP. |
| ServerUserName |
Mendapatkan atau mengatur alias masuk pengguna. |
| Timeout |
Mendapatkan atau menetapkan nilai yang menunjukkan berapa lama untuk mencoba koneksi sebelum waktu habis. |
| UsePassiveMode |
Mendapatkan atau menetapkan nilai yang menunjukkan apakah tugas mengirim dan menerima file dalam mode pasif. |
Metode
| Close() |
Menutup koneksi ke server FTP. |
| Connect() |
Mencoba membuat koneksi ke server FTP. |
| CreateRemoteDirectory(String) |
Membuat folder yang ditentukan pada server FTP. |
| DeleteFiles(String[]) |
Menghapus daftar file pada server FTP. |
| DeleteRemoteDirectory(String) |
Menghapus folder yang ditentukan pada server FTP. |
| GetListing(String[], String[]) |
Mendapatkan daftar file pada direktori kerja saat ini. |
| GetWorkingDirectory() |
Mendapatkan direktori kerja saat ini. |
| ReceiveFiles(String[], String, Boolean, Boolean) |
Menerima file dari server FTP. |
| SendFiles(String[], String, Boolean, Boolean) |
Mengirim file dari komputer lokal ke server FTP. |
| SetWorkingDirectory(String) |
Menyetel direktori kerja saat ini ke jalur yang ditentukan. |