Skip to main content

Ftp Class

NuGet: GHIElectronics.TinyCLR.Networking.Ftp
Assembly: GHIElectronics.TinyCLR.Networking.Ftp
Namespace: System.Net

Represents the types of FTP protocol methods that can be used with an FTP request.

public static class Ftp

Fields​

DeleteFile​

public const string DeleteFile

Represents the FTP DELE protocol method that deletes a file on an FTP server.

DownloadFile​

public const string DownloadFile

Represents the FTP RETR protocol method that downloads a file from an FTP server.

GetFileSize​

public const string GetFileSize

Represents the FTP SIZE protocol method that retrieves the size of a file on an FTP server.

ListDirectory​

public const string ListDirectory

Represents the FTP NLST protocol method that gets a short listing of the files on an FTP server.

ListDirectoryDetails​

public const string ListDirectoryDetails

Represents the FTP LIST protocol method that gets a detailed listing of the files on an FTP server.

MakeDirectory​

public const string MakeDirectory

Represents the FTP MKD protocol method that creates a directory on an FTP server.

RemoveDirectory​

public const string RemoveDirectory

Represents the FTP RMD protocol method that removes a directory.

Rename​

public const string Rename

Represents the FTP RENAME protocol method that renames a file or directory.

UploadFile​

public const string UploadFile

Represents the FTP STOR protocol method that uploads a file to an FTP server.