37 "desc":
"FTP stat data provider; returns information about the path given as an argument",
38 "type":
"FtpClientStatDataProvider",
40 "supports_request":
True,
45 AbstractDataProvider::DataProviderSummaryInfoKeys
67 static hash<auto>
doStat(FtpClient
ftp,
string path, *
bool assume_known);
72 static bool checkDir(FtpClient
ftp,
string path);
const ConstructorOptions
Constructor arguments.
Definition: FtpClientDataProvider.qc.dox.h:39
Data type for FTP client stat request calls.
Definition: FtpClientPathDataType.qc.dox.h:27
The FTP client stat data provider class.
Definition: FtpClientStatDataProvider.qc.dox.h:28
constructor(*hash< auto > options)
Creates the object from constructor options.
string getName()
Returns the data provider name.
const ResponseType
Response type.
Definition: FtpClientStatDataProvider.qc.dox.h:52
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
constructor(FtpClient ftp)
Creates the object from an FTP connection.
const ProviderInfo
Provider info.
Definition: FtpClientStatDataProvider.qc.dox.h:35
const ProviderSummaryInfo
Provider summary info.
Definition: FtpClientStatDataProvider.qc.dox.h:44
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
static hash< auto > doStat(FtpClient ftp, string path, *bool assume_known)
Performs a "stat"-like action on a remote file.
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
FtpClient ftp
FTP connection.
Definition: FtpClientStatDataProvider.qc.dox.h:32
static date getModifiedTime(FtpClient ftp, string path)
Returns the modified time for a remote file, if possible.
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
const RequestType
Request type.
Definition: FtpClientStatDataProvider.qc.dox.h:49
Data type for FTP client stat response calls.
Definition: FtpClientStatResponseDataType.qc.dox.h:27
Qore FtpClientDataProvider module definition.
Definition: FtpClientCreateFileDataProvider.qc.dox.h:26