C# Class LitDev.LDftp

Afficher le fichier Open project: litdev1/LitDev

Méthodes publiques

Méthode Description
Delete ( Primitive remoteFile, Primitive ftpServerIP, Primitive ftpUserID, Primitive ftpPassword ) : Primitive

Delete a file by ftp.

Download ( Primitive localFile, Primitive remoteFile, Primitive ftpServerIP, Primitive ftpUserID, Primitive ftpPassword ) : Primitive

Download a file by ftp.

ListFiles ( Primitive remoteFolder, Primitive ftpServerIP, Primitive ftpUserID, Primitive ftpPassword ) : Primitive

Get a remote folder listing by ftp (non async only).

Upload ( Primitive localFile, Primitive remoteFile, Primitive ftpServerIP, Primitive ftpUserID, Primitive ftpPassword ) : Primitive

Upload a file by ftp.

Private Methods

Méthode Description
DoDelete ( Object obj ) : void
DoDownload ( Object obj ) : void
DoUpload ( Object obj ) : void

Method Details

Delete() public static méthode

Delete a file by ftp.
public static Delete ( Primitive remoteFile, Primitive ftpServerIP, Primitive ftpUserID, Primitive ftpPassword ) : Primitive
remoteFile Primitive The full path (on server) to the remote file to delete.
ftpServerIP Primitive The ftp server address (or IP).
ftpUserID Primitive The user ID.
ftpPassword Primitive The user password.
Résultat Primitive

Download() public static méthode

Download a file by ftp.
public static Download ( Primitive localFile, Primitive remoteFile, Primitive ftpServerIP, Primitive ftpUserID, Primitive ftpPassword ) : Primitive
localFile Primitive The full path to the local file to download.
remoteFile Primitive The full path (on server) to the remote file to download.
ftpServerIP Primitive The ftp server address (or IP).
ftpUserID Primitive The user ID.
ftpPassword Primitive The user password.
Résultat Primitive

ListFiles() public static méthode

Get a remote folder listing by ftp (non async only).
public static ListFiles ( Primitive remoteFolder, Primitive ftpServerIP, Primitive ftpUserID, Primitive ftpPassword ) : Primitive
remoteFolder Primitive The full path (on server) to the remote folder to list.
ftpServerIP Primitive The ftp server address (or IP).
ftpUserID Primitive The user ID.
ftpPassword Primitive The user password.
Résultat Primitive

Upload() public static méthode

Upload a file by ftp.
public static Upload ( Primitive localFile, Primitive remoteFile, Primitive ftpServerIP, Primitive ftpUserID, Primitive ftpPassword ) : Primitive
localFile Primitive The full path to the local file to upload.
remoteFile Primitive The full path (on server) to the remote file to upload.
ftpServerIP Primitive The ftp server address (or IP).
ftpUserID Primitive The user ID.
ftpPassword Primitive The user password.
Résultat Primitive