e4ce6c5
--- netkit-ftp-0.17/ftp/main.c.orig	2012-08-22 14:13:47.452058828 +0200
e4ce6c5
+++ netkit-ftp-0.17/ftp/main.c	2012-08-22 14:16:47.964124112 +0200
e4ce6c5
@@ -87,7 +87,8 @@ static
e4ce6c5
 void
e4ce6c5
 usage(void)
e4ce6c5
 {
e4ce6c5
-	printf("\n\tUsage: { ftp | pftp } [-pinegvtd] [hostname]\n");
e4ce6c5
+	printf("\n\tUsage: { ftp | pftp } [-Apinegvtd] [hostname]\n");
e4ce6c5
+	printf("\t   -A: enable active mode\n");
e4ce6c5
 	printf("\t   -p: enable passive mode (default for ftp and pftp)\n");
e4ce6c5
 	printf("\t   -i: turn off prompting during mget\n");
e4ce6c5
 	printf("\t   -n: inhibit auto-login\n");
e4ce6c5
@@ -166,6 +167,10 @@ main(volatile int argc, char **volatile
e4ce6c5
 				passivemode = 1;
e4ce6c5
 				break;
e4ce6c5
 
e4ce6c5
+			case 'A':
e4ce6c5
+				passivemode = 0;
e4ce6c5
+				break;
e4ce6c5
+
e4ce6c5
 			case 'g':
e4ce6c5
 				doglob = 0;
e4ce6c5
 				break;
e4ce6c5
--- netkit-ftp-0.17/ftp/ftp.1.orig      2009-10-26 15:38:34.000000000 -0500
e4ce6c5
+++ netkit-ftp-0.17/ftp/ftp.1   2009-10-26 15:41:12.000000000 -0500
e4ce6c5
@@ -58,6 +58,9 @@
e4ce6c5
 Options may be specified at the command line, or to the
e4ce6c5
 command interpreter.
e4ce6c5
 .Bl -tag -width flag
e4ce6c5
+.It Fl A
e4ce6c5
+Use active mode for data transfers. This is useful for transmissions
e4ce6c5
+to servers which do not support passive connections (for whatever reason.)
e4ce6c5
 .It Fl p
e4ce6c5
 Use passive mode for data transfers. Allows use of ftp in environments
e4ce6c5
 where a firewall prevents connections from the outside world back to