49
uerr_t ftp_response PARAMS ((struct rbuf *, char **));
50
uerr_t ftp_login PARAMS ((struct rbuf *, const char *, const char *));
51
uerr_t ftp_port PARAMS ((struct rbuf *));
52
uerr_t ftp_pasv PARAMS ((struct rbuf *, ip_address *, unsigned short *));
46
uerr_t ftp_response PARAMS ((int, char **));
47
uerr_t ftp_login PARAMS ((int, const char *, const char *));
48
uerr_t ftp_port PARAMS ((int, int *));
49
uerr_t ftp_pasv PARAMS ((int, ip_address *, int *));
54
uerr_t ftp_epsv PARAMS ((struct rbuf *, ip_address *, unsigned short *,
57
uerr_t ftp_type PARAMS ((struct rbuf *, int));
58
uerr_t ftp_cwd PARAMS ((struct rbuf *, const char *));
59
uerr_t ftp_retr PARAMS ((struct rbuf *, const char *));
60
uerr_t ftp_rest PARAMS ((struct rbuf *, long));
61
uerr_t ftp_list PARAMS ((struct rbuf *, const char *));
62
uerr_t ftp_syst PARAMS ((struct rbuf *, enum stype *));
63
uerr_t ftp_pwd PARAMS ((struct rbuf *, char **));
64
uerr_t ftp_size PARAMS ((struct rbuf *, const char *, long int *));
51
uerr_t ftp_lprt PARAMS ((int, int *));
52
uerr_t ftp_lpsv PARAMS ((int, ip_address *, int *));
53
uerr_t ftp_eprt PARAMS ((int, int *));
54
uerr_t ftp_epsv PARAMS ((int, ip_address *, int *));
56
uerr_t ftp_type PARAMS ((int, int));
57
uerr_t ftp_cwd PARAMS ((int, const char *));
58
uerr_t ftp_retr PARAMS ((int, const char *));
59
uerr_t ftp_rest PARAMS ((int, wgint));
60
uerr_t ftp_list PARAMS ((int, const char *));
61
uerr_t ftp_syst PARAMS ((int, enum stype *));
62
uerr_t ftp_pwd PARAMS ((int, char **));
63
uerr_t ftp_size PARAMS ((int, const char *, wgint *));
66
const char *skey_response PARAMS ((int, const char *, const char *));
87
90
enum ftype type; /* file type */
88
91
char *name; /* file name */
89
long size; /* file size */
92
wgint size; /* file size */
90
93
long tstamp; /* time-stamp */
91
94
int perms; /* file permissions */
92
95
char *linkto; /* link to which file points */
101
104
DO_CWD = 0x0002, /* Change current directory. */
102
105
DO_RETR = 0x0004, /* Retrieve the file. */
103
106
DO_LIST = 0x0008, /* Retrieve the directory list. */
104
LEAVE_PENDING = 0x0010, /* Do not close the socket. */
105
NO_TRUNCATE = 0x0020 /* Don't truncate the file if REST
107
LEAVE_PENDING = 0x0010 /* Do not close the socket. */
109
110
enum wget_ftp_fstatus