usage info
[opsoft.git] / gclib2 / include / FTP.h
blob096649d232975f83ddde52686f03ee924c4939e4
1 /*
2 * (c) Oleg Puchinin 2008
3 * graycardinalster@gmail.com
5 */
7 #ifndef DEFINE_FTP_H
8 #define DEFINE_FTP_H
10 class FTP : Connection
12 public:
13 FTP ();
14 FTP (bool passive);
15 ~FTP ();
17 int connect (char * server, uint16_t port = 21);
18 int login (char * l, char * p);
20 private:
21 List * waitReply ();
22 int checkReply (int needle);
23 int typeI ();
24 int pasv ();
25 int port ();
26 char * syst ();
27 bool m_passive;
28 Connection * m_dataConnection;
31 #endif