Qore FtpClientDataProvider Module Reference 1.0
Loading...
Searching...
No Matches
FtpClientGetFileRequestDataType.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
2
25namespace FtpClientDataProvider {
27class FtpClientGetFileRequestDataType : public HashDataType {
28
29public:
30protected:
32 const Fields = {
33 "path": {
34 "type": StringType,
35 "desc": "The path on the FTP server",
36 },
37 "text": {
38 "type": BoolType,
39 "desc": "If `True` the file will be returned as a string, `False` (the default) as binary data",
40 "default_value": False,
41 },
42 "encoding": {
43 "type": StringType,
44 "desc": "The string encoding to use if `text` = `True` (default: `UTF-8`)",
45 "default_value": "UTF-8",
46 },
47 };
48
49public:
50
53
54};
55};
Data type for FTP client get file request calls.
Definition: FtpClientGetFileRequestDataType.qc.dox.h:27
const Fields
Field descriptions.
Definition: FtpClientGetFileRequestDataType.qc.dox.h:32
Qore FtpClientDataProvider module definition.
Definition: FtpClientCreateFileDataProvider.qc.dox.h:26