$darkmode
Qore FtpClientDataProvider Module Reference 1.0
FtpClientGetFileRequestDataType.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
2 
25 namespace FtpClientDataProvider {
27 class FtpClientGetFileRequestDataType : public HashDataType {
28 
29 public:
30 protected:
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 
49 public:
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
const False
Qore FtpClientDataProvider module definition.
Definition: FtpClientCreateFileDataProvider.qc.dox.h:26