repo.or.cz
/
opsoft_test.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
current version
[opsoft_test.git]
/
gclib2
/
modules
/
Net
/
FTP
/
FTP.h
blob
09291ac662a61084f9f06a241f21897501166d6e
1
/*
2
* (c) Oleg Puchinin 2008
3
* graycardinalster@gmail.com
4
*
5
*/
6
7
#ifndef DEFINE_FTP_H
8
#define DEFINE_FTP_H
9
10
class
FTP
:
Connection
11
{
12
public
:
13
FTP
();
14
~
FTP
();
15
16
int
connect
(
char
*
server
,
uint16_t
port
=
21
);
17
int
login
(
char
*
l
,
char
*
p
);
18
19
private
:
20
List
*
waitReply
();
21
int
checkReply
(
int
needle
);
22
int
typeI
();
23
};
24
25
#endif
26