C# 클래스 System.Net.FtpClient.FtpExtensions

Extension methods related to FTP tasks
파일 보기 프로젝트 열기: PrezzaTechnologies/Developer-Samples

공개 메소드들

메소드 설명
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