Method | Description | |
---|---|---|
Connect ( string host, int serverPort, string userName, string password = null ) : void |
Only builds Request Uri but does not create physical connection to ftp server.
|
|
Dispose ( ) : void |
Not relevant to this implementation
|
|
GetFiles ( string remotePath, string localDir, string fileExtensions, System.TimeSpan cutOff ) : void |
Get all the files with specified fileExtensions no older than cutOff timespan. Matched files are downloaded into localDir
|
Method | Description | |
---|---|---|
GetDirItemsParsed ( IList |
Parse raw output from WebRequestMethods.Ftp.ListDirectoryDetails into DirItemStruct
|
|
GetDirectoryItems ( ) : IEnumerable |
Get detailed listing of files on ftp server.
|
|
GetFile ( string filename, string target ) : void |
Get specified file into target file
|
|
GuessFileListStyle ( IEnumerable |
Decide Windows-Style, Unixs-Style or unknown
|
|
ParseFileStructFromUnixStyleRecord ( string record ) : |
Parse directory item from Unix-Style record. Not currently supported.
|
|
ParseFileStructFromWindowsStyleRecord ( string record ) : |
Parse directory item from Windows-Style record.
|
public Connect ( string host, int serverPort, string userName, string password = null ) : void | ||
host | string | |
serverPort | int | not in use |
userName | string | |
password | string | |
return | void |
public GetFiles ( string remotePath, string localDir, string fileExtensions, System.TimeSpan cutOff ) : void | ||
remotePath | string | |
localDir | string | |
fileExtensions | string | |
cutOff | System.TimeSpan | |
return | void |