Qore Programming Language Reference Manual
0.8.7
Main Page
Related Pages
Modules
Namespaces
Classes
All
Classes
Namespaces
Functions
Variables
Groups
Pages
QC_FtpClient.dox.h
1
2
namespace
Qore {
4
76
class
FtpClient
{
77
78
public
:
80
97
nothing
connect
();
98
99
public
:
101
106
constructor
();
107
108
public
:
110
122
constructor
(
string
url);
123
124
public
:
126
128
copy
();
129
130
public
:
132
145
nothing
cwd
(
string
path);
146
147
public
:
149
164
nothing
del
(
string
remote_path);
165
166
public
:
168
176
destructor
();
177
178
public
:
180
188
nothing
disconnect
();
189
190
public
:
192
214
nothing
get
(
string
remote_path, *
string
local_path);
215
216
public
:
218
238
binary
getAsBinary
(
string
remote_path);
239
240
public
:
242
262
string
getAsString
(
string
remote_path);
263
264
public
:
266
273
*
string
getHostName
();
274
275
public
:
277
284
*
string
getPassword
();
285
286
public
:
288
295
int
getPort
();
296
297
public
:
299
310
*
string
getSSLCipherName
();
311
312
public
:
314
325
*
string
getSSLCipherVersion
();
326
327
public
:
329
336
string
getURL
();
337
338
public
:
340
347
*
string
getUserName
();
348
349
public
:
351
362
bool
isDataSecure
();
363
364
public
:
366
376
bool
isSecure
();
377
378
public
:
380
397
*
string
list
();
398
399
public
:
401
420
*
string
list
(
string
path);
421
422
public
:
424
439
nothing
mkdir
(
string
remote_path);
440
441
public
:
443
460
*
string
nlst
();
461
462
public
:
464
483
*
string
nlst
(
string
path);
484
485
public
:
487
510
nothing
put
(
string
local_path, *
string
remote_path);
511
512
public
:
514
530
nothing
putData
(
string
data,
string
remote_path);
531
532
public
:
534
550
nothing
putData
(
binary
data,
string
remote_path);
551
552
public
:
554
569
string
pwd
();
570
571
public
:
573
589
nothing
rename
(
string
from,
string
to);
590
591
public
:
593
608
nothing
rmdir
(
string
remote_path);
609
610
public
:
612
617
nothing
setControlEventQueue
();
618
619
public
:
621
632
nothing
setControlEventQueue
(
Qore::Thread::Queue
queue);
633
634
public
:
636
641
nothing
setDataEventQueue
();
642
643
public
:
645
656
nothing
setDataEventQueue
(
Qore::Thread::Queue
queue);
657
658
public
:
660
665
nothing
setEventQueue
();
666
667
public
:
669
680
nothing
setEventQueue
(
Qore::Thread::Queue
queue);
681
682
public
:
684
691
nothing
setHostName
(
string
host);
692
693
public
:
695
702
nothing
setInsecure
();
703
704
public
:
706
714
nothing
setInsecureData
();
715
716
public
:
718
723
nothing
setModeAuto
();
724
725
public
:
727
732
nothing
setModeEPSV
();
733
734
public
:
736
741
nothing
setModePASV
();
742
743
public
:
745
750
nothing
setModePORT
();
751
752
public
:
754
761
nothing
setPassword
(
string
pass);
762
763
public
:
765
774
nothing
setPort
(
int
port);
775
776
public
:
778
787
nothing
setSecure
(
bool
secure =
True
);
788
789
public
:
791
803
nothing
setURL
(
string
url);
804
805
public
:
807
814
nothing
setUserName
(
string
user);
815
816
public
:
818
829
*
string
verifyPeerCertificate
();
830
};
831
};