perl-5.22
|
Last change
on this file since 34a7c56 was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 9 years ago
|
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100644
|
|
File size:
1.3 KB
|
| Rev | Line | |
|---|
| [c5c522c] | 1 | --- netkit-ftp-0.17/ftp/main.c.orig 2012-08-22 14:13:47.452058828 +0200 |
|---|
| 2 | +++ netkit-ftp-0.17/ftp/main.c 2012-08-22 14:16:47.964124112 +0200 |
|---|
| 3 | @@ -87,7 +87,8 @@ static |
|---|
| 4 | void |
|---|
| 5 | usage(void) |
|---|
| 6 | { |
|---|
| 7 | - printf("\n\tUsage: { ftp | pftp } [-pinegvtd] [hostname]\n"); |
|---|
| 8 | + printf("\n\tUsage: { ftp | pftp } [-Apinegvtd] [hostname]\n"); |
|---|
| 9 | + printf("\t -A: enable active mode\n"); |
|---|
| 10 | printf("\t -p: enable passive mode (default for ftp and pftp)\n"); |
|---|
| 11 | printf("\t -i: turn off prompting during mget\n"); |
|---|
| 12 | printf("\t -n: inhibit auto-login\n"); |
|---|
| 13 | @@ -166,6 +167,10 @@ main(volatile int argc, char **volatile |
|---|
| 14 | passivemode = 1; |
|---|
| 15 | break; |
|---|
| 16 | |
|---|
| 17 | + case 'A': |
|---|
| 18 | + passivemode = 0; |
|---|
| 19 | + break; |
|---|
| 20 | + |
|---|
| 21 | case 'g': |
|---|
| 22 | doglob = 0; |
|---|
| 23 | break; |
|---|
| 24 | --- netkit-ftp-0.17/ftp/ftp.1.orig 2009-10-26 15:38:34.000000000 -0500 |
|---|
| 25 | +++ netkit-ftp-0.17/ftp/ftp.1 2009-10-26 15:41:12.000000000 -0500 |
|---|
| 26 | @@ -58,6 +58,9 @@ |
|---|
| 27 | Options may be specified at the command line, or to the |
|---|
| 28 | command interpreter. |
|---|
| 29 | .Bl -tag -width flag |
|---|
| 30 | +.It Fl A |
|---|
| 31 | +Use active mode for data transfers. This is useful for transmissions |
|---|
| 32 | +to servers which do not support passive connections (for whatever reason.) |
|---|
| 33 | .It Fl p |
|---|
| 34 | Use passive mode for data transfers. Allows use of ftp in environments |
|---|
| 35 | where a firewall prevents connections from the outside world back to |
|---|
Note: See
TracBrowser
for help on using the repository browser.