C# Class CdnLink.FtpBox

Inheritance: ICdnFtpBox
Afficher le fichier Open project: cardeliverynetwork/openapi.net Class Usage Examples

Private Properties

Свойство Type Description
GetFtpRequest System.Net.FtpWebRequest

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
GetFtpRequest ( string method, string filename = null ) : FtpWebRequest

Method Details

DeleteFile() public méthode

Deletes the file.
public DeleteFile ( string filename ) : void
filename string Name of the file.
Résultat void

FtpBox() public méthode

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.
Résultat System

GetFileContents() public méthode

Gets the file contents.
public GetFileContents ( string filename ) : string
filename string Name of the file.
Résultat string

GetFileList() public méthode

Gets the file list.
public GetFileList ( ) : List
Résultat List