Qore FtpPollerUtil Module Reference 1.0
Loading...
Searching...
No Matches
FtpPollerUtil.qm.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
4/* FtpPollerUtil.qm Copyright 2023 - 2024 Qore Technologies, s.r.o.
5
6 Permission is hereby granted, free of charge, to any person obtaining a
7 copy of this software and associated documentation files (the "Software"),
8 to deal in the Software without restriction, including without limitation
9 the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 and/or sell copies of the Software, and to permit persons to whom the
11 Software is furnished to do so, subject to the following conditions:
12
13 The above copyright notice and this permission notice shall be included in
14 all copies or substantial portions of the Software.
15
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 DEALINGS IN THE SOFTWARE.
23*/
24
25
26// make sure we have the required qore version
27
28
29/* Version History
30 * 2019-10-16 v1.0: Alzhan Turlybekov <[email protected]>
31*/
32
46namespace FtpPoller {
48class FtpPollerFileEventInfoDataType : public HashDataType {
49
50public:
52 const Fields = ...;
53
54
57
58
60 string getDesc();
61
62};
63
68const RS_DELETED = "DELETED";
69
71const RS_MOVED = "MOVED";
72
74const RS_NONE = "NONE";
76
79
81public hashdecl FtpPollerFileEventInfo {
83 string name;
84
86 int size;
87
89 date mtime;
90
92
96
98 string filepath;
99
102
104 *string local_path;
105
108};
109};
Single file event data description.
Definition FtpPollerUtil.qm.dox.h:48
string getDesc()
Returns the description.
const Fields
Markdown descriptions for hashdecl members.
Definition FtpPollerUtil.qm.dox.h:52
const RS_MOVED
remote status: moved
Definition FtpPollerUtil.qm.dox.h:71
const RS_DELETED
Definition FtpPollerUtil.qm.dox.h:68
const RS_NONE
remote status: none
Definition FtpPollerUtil.qm.dox.h:74
main FtpPoller namespace
Definition FtpPollerUtil.qm.dox.h:46
FtpPoller file event hash.
Definition FtpPollerUtil.qm.dox.h:81
int size
The size of the file in bytes.
Definition FtpPollerUtil.qm.dox.h:86
string filepath
The remote filepath relative to the FTP root directory.
Definition FtpPollerUtil.qm.dox.h:98
string remote_status
Remote status; one of FTP Remote Status Constants.
Definition FtpPollerUtil.qm.dox.h:107
string name
The name of the file, link, or directory.
Definition FtpPollerUtil.qm.dox.h:83
date transfer_time
The relative date/time value giving the time taken to transfer the file.
Definition FtpPollerUtil.qm.dox.h:101
*string local_path
Only included when `local_dir` is set; the target path for the file.
Definition FtpPollerUtil.qm.dox.h:104
data data
The file's data.
Definition FtpPollerUtil.qm.dox.h:95
date mtime
The last modified date/time of the file.
Definition FtpPollerUtil.qm.dox.h:89