-
Notifications
You must be signed in to change notification settings - Fork 0
/
SFtpFile.pas
143 lines (93 loc) · 5.62 KB
/
SFtpFile.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
unit SFtpFile;
interface
type
HCkSFtpFile = Pointer;
HCkDateTime = Pointer;
HCkString = Pointer;
function CkSFtpFile_Create: HCkSFtpFile; stdcall;
procedure CkSFtpFile_Dispose(handle: HCkSFtpFile); stdcall;
procedure CkSFtpFile_getCreateTimeStr(objHandle: HCkSFtpFile; outPropVal: HCkString); stdcall;
function CkSFtpFile__createTimeStr(objHandle: HCkSFtpFile): PWideChar; stdcall;
procedure CkSFtpFile_getFilename(objHandle: HCkSFtpFile; outPropVal: HCkString); stdcall;
function CkSFtpFile__filename(objHandle: HCkSFtpFile): PWideChar; stdcall;
procedure CkSFtpFile_getFileType(objHandle: HCkSFtpFile; outPropVal: HCkString); stdcall;
function CkSFtpFile__fileType(objHandle: HCkSFtpFile): PWideChar; stdcall;
function CkSFtpFile_getGid(objHandle: HCkSFtpFile): Integer; stdcall;
procedure CkSFtpFile_getGroup(objHandle: HCkSFtpFile; outPropVal: HCkString); stdcall;
function CkSFtpFile__group(objHandle: HCkSFtpFile): PWideChar; stdcall;
function CkSFtpFile_getIsAppendOnly(objHandle: HCkSFtpFile): wordbool; stdcall;
function CkSFtpFile_getIsArchive(objHandle: HCkSFtpFile): wordbool; stdcall;
function CkSFtpFile_getIsCaseInsensitive(objHandle: HCkSFtpFile): wordbool; stdcall;
function CkSFtpFile_getIsCompressed(objHandle: HCkSFtpFile): wordbool; stdcall;
function CkSFtpFile_getIsDirectory(objHandle: HCkSFtpFile): wordbool; stdcall;
function CkSFtpFile_getIsEncrypted(objHandle: HCkSFtpFile): wordbool; stdcall;
function CkSFtpFile_getIsHidden(objHandle: HCkSFtpFile): wordbool; stdcall;
function CkSFtpFile_getIsImmutable(objHandle: HCkSFtpFile): wordbool; stdcall;
function CkSFtpFile_getIsReadOnly(objHandle: HCkSFtpFile): wordbool; stdcall;
function CkSFtpFile_getIsRegular(objHandle: HCkSFtpFile): wordbool; stdcall;
function CkSFtpFile_getIsSparse(objHandle: HCkSFtpFile): wordbool; stdcall;
function CkSFtpFile_getIsSymLink(objHandle: HCkSFtpFile): wordbool; stdcall;
function CkSFtpFile_getIsSync(objHandle: HCkSFtpFile): wordbool; stdcall;
function CkSFtpFile_getIsSystem(objHandle: HCkSFtpFile): wordbool; stdcall;
procedure CkSFtpFile_getLastAccessTimeStr(objHandle: HCkSFtpFile; outPropVal: HCkString); stdcall;
function CkSFtpFile__lastAccessTimeStr(objHandle: HCkSFtpFile): PWideChar; stdcall;
function CkSFtpFile_getLastMethodSuccess(objHandle: HCkSFtpFile): wordbool; stdcall;
procedure CkSFtpFile_putLastMethodSuccess(objHandle: HCkSFtpFile; newPropVal: wordbool); stdcall;
procedure CkSFtpFile_getLastModifiedTimeStr(objHandle: HCkSFtpFile; outPropVal: HCkString); stdcall;
function CkSFtpFile__lastModifiedTimeStr(objHandle: HCkSFtpFile): PWideChar; stdcall;
procedure CkSFtpFile_getOwner(objHandle: HCkSFtpFile; outPropVal: HCkString); stdcall;
function CkSFtpFile__owner(objHandle: HCkSFtpFile): PWideChar; stdcall;
function CkSFtpFile_getPermissions(objHandle: HCkSFtpFile): Integer; stdcall;
function CkSFtpFile_getSize32(objHandle: HCkSFtpFile): Integer; stdcall;
function CkSFtpFile_getSize64(objHandle: HCkSFtpFile): Int64; stdcall;
procedure CkSFtpFile_getSizeStr(objHandle: HCkSFtpFile; outPropVal: HCkString); stdcall;
function CkSFtpFile__sizeStr(objHandle: HCkSFtpFile): PWideChar; stdcall;
function CkSFtpFile_getUid(objHandle: HCkSFtpFile): Integer; stdcall;
function CkSFtpFile_GetCreateDt(objHandle: HCkSFtpFile): HCkDateTime; stdcall;
function CkSFtpFile_GetLastAccessDt(objHandle: HCkSFtpFile): HCkDateTime; stdcall;
function CkSFtpFile_GetLastModifiedDt(objHandle: HCkSFtpFile): HCkDateTime; stdcall;
implementation
{$Include chilkatDllPath.inc}
function CkSFtpFile_Create; external DLLName;
procedure CkSFtpFile_Dispose; external DLLName;
procedure CkSFtpFile_getCreateTimeStr; external DLLName;
function CkSFtpFile__createTimeStr; external DLLName;
procedure CkSFtpFile_getFilename; external DLLName;
function CkSFtpFile__filename; external DLLName;
procedure CkSFtpFile_getFileType; external DLLName;
function CkSFtpFile__fileType; external DLLName;
function CkSFtpFile_getGid; external DLLName;
procedure CkSFtpFile_getGroup; external DLLName;
function CkSFtpFile__group; external DLLName;
function CkSFtpFile_getIsAppendOnly; external DLLName;
function CkSFtpFile_getIsArchive; external DLLName;
function CkSFtpFile_getIsCaseInsensitive; external DLLName;
function CkSFtpFile_getIsCompressed; external DLLName;
function CkSFtpFile_getIsDirectory; external DLLName;
function CkSFtpFile_getIsEncrypted; external DLLName;
function CkSFtpFile_getIsHidden; external DLLName;
function CkSFtpFile_getIsImmutable; external DLLName;
function CkSFtpFile_getIsReadOnly; external DLLName;
function CkSFtpFile_getIsRegular; external DLLName;
function CkSFtpFile_getIsSparse; external DLLName;
function CkSFtpFile_getIsSymLink; external DLLName;
function CkSFtpFile_getIsSync; external DLLName;
function CkSFtpFile_getIsSystem; external DLLName;
procedure CkSFtpFile_getLastAccessTimeStr; external DLLName;
function CkSFtpFile__lastAccessTimeStr; external DLLName;
function CkSFtpFile_getLastMethodSuccess; external DLLName;
procedure CkSFtpFile_putLastMethodSuccess; external DLLName;
procedure CkSFtpFile_getLastModifiedTimeStr; external DLLName;
function CkSFtpFile__lastModifiedTimeStr; external DLLName;
procedure CkSFtpFile_getOwner; external DLLName;
function CkSFtpFile__owner; external DLLName;
function CkSFtpFile_getPermissions; external DLLName;
function CkSFtpFile_getSize32; external DLLName;
function CkSFtpFile_getSize64; external DLLName;
procedure CkSFtpFile_getSizeStr; external DLLName;
function CkSFtpFile__sizeStr; external DLLName;
function CkSFtpFile_getUid; external DLLName;
function CkSFtpFile_GetCreateDt; external DLLName;
function CkSFtpFile_GetLastAccessDt; external DLLName;
function CkSFtpFile_GetLastModifiedDt; external DLLName;
end.