C# Класс System.Net.FtpClient.FtpExtensions

Extension methods related to FTP tasks
Показать файл Открыть проект

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

Метод Описание
GetFtpDate ( this date, DateTimeStyles style ) : System.DateTime

Tries to convert the string FTP date representation into a date time object

GetFtpDirectoryName ( this path ) : string

Gets the directory name of a path formatted for a FTP server

GetFtpFileName ( this path ) : string

Gets the file name from the path

GetFtpPath ( this path ) : string

Converts the specified path into a valid FTP file system path

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

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

Tries to convert the string FTP date representation into a date time object
public static GetFtpDate ( this date, DateTimeStyles style ) : System.DateTime
date this The date
style DateTimeStyles UTC/Local Time
Результат System.DateTime

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

Gets the directory name of a path formatted for a FTP server
public static GetFtpDirectoryName ( this path ) : string
path this The path
Результат string

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

Gets the file name from the path
public static GetFtpFileName ( this path ) : string
path this The full path to the file
Результат string

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

Converts the specified path into a valid FTP file system path
public static GetFtpPath ( this path ) : string
path this The file system path
Результат string