Язык

FTPClientConnection100Class Класс

Определение

Предоставляет свойства и методы для задачи 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
Наследование
FTPClientConnection100Class
Атрибуты
Реализации

Конструкторы

Имя Описание
FTPClientConnection100Class()

Инициализирует новый экземпляр класса FTPClientConnection100Class.

Свойства

Имя Описание
ChunkSize

Получает или устанавливает количество данных в байтах для передачи данных.

Retries

Получает или задаёт количество попыток выполнить операцию.

ServerName

Получает или устанавливает имя FTP-сервера.

ServerPassword

Получает или устанавливает пароль для аутентификации.

ServerPort

Получает или устанавливает FTP-серверный порт.

ServerUserName

Получает или устанавливает псевдоним пользователя для входа.

Timeout

Получает или устанавливает значение, показывающее, сколько времени нужно попытаться подключиться до истечения тайм-аута.

UsePassiveMode

Получает или устанавливает значение, указывающее, отправляет ли задача и получает ли файлы в пассивном режиме.

Методы

Имя Описание
Close()

Закрывает соединение с FTP-сервером.

Connect()

Попытки установить соединение с FTP-сервером.

CreateRemoteDirectory(String)

Создаёт указанную папку на FTP-сервере.

DeleteFiles(String[])

Удаляет список файлов на FTP-сервере.

DeleteRemoteDirectory(String)

Удаляет указанную папку на FTP-сервере.

GetListing(String[], String[])

Получает список файлов в текущей рабочей директории.

GetWorkingDirectory()

Возвращает текущий рабочий каталог.

ReceiveFiles(String[], String, Boolean, Boolean)

Получает файлы с FTP-сервера.

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

Отправляет файлы с локального компьютера на FTP-сервер.

SetWorkingDirectory(String)

Устанавливает текущий рабочий каталог на указанный путь.

Применяется к