C# Класс LitDev.LDftp

Показать файл Открыть проект

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

Метод Описание
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.

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

Метод Описание
DoDelete ( Object obj ) : void
DoDownload ( Object obj ) : void
DoUpload ( Object obj ) : void

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

Delete() публичный статический Метод

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.
Результат Primitive

Download() публичный статический Метод

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.
Результат Primitive

ListFiles() публичный статический Метод

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.
Результат Primitive

Upload() публичный статический Метод

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.
Результат Primitive