version 1.66, 2007/09/05 08:04:49 |
version 1.67, 2007/11/26 12:39:00 |
|
|
el = NULL; |
el = NULL; |
hist = NULL; |
hist = NULL; |
cookiefile = NULL; |
cookiefile = NULL; |
|
resume = 0; |
#endif |
#endif |
mark = HASHBYTES; |
mark = HASHBYTES; |
marg_sl = sl_init(); |
marg_sl = sl_init(); |
|
|
cookiefile = getenv("http_cookies"); |
cookiefile = getenv("http_cookies"); |
#endif |
#endif |
|
|
while ((ch = getopt(argc, argv, "46Aac:dEegik:mno:pP:r:tvV")) != -1) { |
while ((ch = getopt(argc, argv, "46AaCc:dEegik:mno:pP:r:tvV")) != -1) { |
switch (ch) { |
switch (ch) { |
case '4': |
case '4': |
family = PF_INET; |
family = PF_INET; |
|
|
anonftp = 1; |
anonftp = 1; |
break; |
break; |
|
|
|
case 'C': |
|
#ifndef SMALL |
|
resume = 1; |
|
#endif |
|
break; |
|
|
case 'c': |
case 'c': |
#ifndef SMALL |
#ifndef SMALL |
cookiefile = optarg; |
cookiefile = optarg; |
|
|
usage(void) |
usage(void) |
{ |
{ |
(void)fprintf(stderr, |
(void)fprintf(stderr, |
"usage: %s [-46AadEegimnptVv] [-c cookie] [-k seconds] " |
"usage: %s [-46AaCdEegimnptVv] [-c cookie] [-k seconds] " |
"[-P port] [-r seconds]\n" |
"[-P port] [-r seconds]\n" |
" [host [port]]\n" |
" [host [port]]\n" |
" %s [-o output] ftp://[user:password@]host[:port]/file[/]\n" |
" %s [-o output] ftp://[user:password@]host[:port]/file[/]\n" |