Qore FtpClientDataProvider Module Reference
1.0
|
The FTP client stat data provider class. More...
Inherits AbstractDataProvider.
Public Member Methods | |
constructor (*hash< auto > options) | |
Creates the object from constructor options. | |
constructor (FtpClient ftp) | |
Creates the object from an FTP connection. | |
string | getName () |
Returns the data provider name. | |
hash< DataProviderInfo > | getStaticInfoImpl () |
Returns data provider static info. | |
Static Public Member Methods | |
static hash< auto > | doStat (FtpClient ftp, string path, *bool assume_known) |
Performs a "stat"-like action on a remote file. | |
static date | getModifiedTime (FtpClient ftp, string path) |
Returns the modified time for a remote file, if possible. | |
Public Attributes | |
FtpClient | ftp |
FTP connection. | |
const | ProviderInfo |
Provider info. | |
const | ProviderSummaryInfo |
Provider summary info. | |
const | RequestType = new FtpClientPathDataType() |
Request type. | |
const | ResponseType = new FtpClientStatResponseDataType() |
Response type. | |
Private Member Methods | |
auto | doRequestImpl (auto req, *hash< auto > request_options) |
Makes a request and returns the response. More... | |
*AbstractDataProviderType | getRequestTypeImpl () |
Returns the description of a successful request message, if any. More... | |
*AbstractDataProviderType | getResponseTypeImpl () |
Returns the description of a response message, if this object represents a response message. More... | |
The FTP client stat data provider class.
|
private |
Makes a request and returns the response.
req | the request info |
request_options | the request options; will be processed by validateRequestOptions() |
STAT-ERROR | if the path cannot be read |
|
private |
Returns the description of a successful request message, if any.
|
private |
Returns the description of a response message, if this object represents a response message.