source:
npl/system/netkit-ftp/patches/29-netkit-ftp-0.17-active-mode-option.patch
@
d849d83
Last change on this file since d849d83 was c5c522c, checked in by , 8 years ago | |
---|---|
|
|
File size: 1.3 KB |
-
netkit-ftp-0.17/ftp/main.c
old new static 87 87 void 88 88 usage(void) 89 89 { 90 printf("\n\tUsage: { ftp | pftp } [-pinegvtd] [hostname]\n"); 90 printf("\n\tUsage: { ftp | pftp } [-Apinegvtd] [hostname]\n"); 91 printf("\t -A: enable active mode\n"); 91 92 printf("\t -p: enable passive mode (default for ftp and pftp)\n"); 92 93 printf("\t -i: turn off prompting during mget\n"); 93 94 printf("\t -n: inhibit auto-login\n"); … … main(volatile int argc, char **volatile 166 167 passivemode = 1; 167 168 break; 168 169 170 case 'A': 171 passivemode = 0; 172 break; 173 169 174 case 'g': 170 175 doglob = 0; 171 176 break; -
netkit-ftp-0.17/ftp/ftp.1
old new 58 58 Options may be specified at the command line, or to the 59 59 command interpreter. 60 60 .Bl -tag -width flag 61 .It Fl A 62 Use active mode for data transfers. This is useful for transmissions 63 to servers which do not support passive connections (for whatever reason.) 61 64 .It Fl p 62 65 Use passive mode for data transfers. Allows use of ftp in environments 63 66 where a firewall prevents connections from the outside world back to
Note: See TracBrowser
for help on using the repository browser.