C# Класс CdnLink.FtpBox

Наследование: ICdnFtpBox
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetFtpRequest System.Net.FtpWebRequest

Открытые методы

Метод Описание
DeleteFile ( string filename ) : void

Deletes the file.

FtpBox ( string host, string root, string user, string pass ) : System

Initializes a new instance of the FtpBox class.

GetFileContents ( string filename ) : string

Gets the file contents.

GetFileList ( ) : List

Gets the file list.

Приватные методы

Метод Описание
GetFtpRequest ( string method, string filename = null ) : FtpWebRequest

Описание методов

DeleteFile() публичный Метод

Deletes the file.
public DeleteFile ( string filename ) : void
filename string Name of the file.
Результат void

FtpBox() публичный Метод

Initializes a new instance of the FtpBox class.
public FtpBox ( string host, string root, string user, string pass ) : System
host string The ftp host.
root string The ftp directory.
user string The ftp user.
pass string The ftp pass.
Результат System

GetFileContents() публичный Метод

Gets the file contents.
public GetFileContents ( string filename ) : string
filename string Name of the file.
Результат string

GetFileList() публичный Метод

Gets the file list.
public GetFileList ( ) : List
Результат List