commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1441639 - /commons/proper/net/trunk/src/main/java/examples/ftp/FTPClientExample.java
Date Fri, 01 Feb 2013 21:25:19 GMT
Author: sebb
Date: Fri Feb  1 21:25:19 2013
New Revision: 1441639

URL: http://svn.apache.org/viewvc?rev=1441639&view=rev
Log:
Tweak help message

Modified:
    commons/proper/net/trunk/src/main/java/examples/ftp/FTPClientExample.java

Modified: commons/proper/net/trunk/src/main/java/examples/ftp/FTPClientExample.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/examples/ftp/FTPClientExample.java?rev=1441639&r1=1441638&r2=1441639&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/examples/ftp/FTPClientExample.java (original)
+++ commons/proper/net/trunk/src/main/java/examples/ftp/FTPClientExample.java Fri Feb  1 21:25:19
2013
@@ -54,7 +54,7 @@ public final class FTPClientExample
         "Usage: ftp [options] <hostname> <username> <password> [<remote
file> [<local file>]]\n" +
         "\nDefault behavior is to download a file and use ASCII transfer mode.\n" +
         "\t-a - use local active mode (default is local passive)\n" +
-        "\t-A - anonymous login\n" +
+        "\t-A - anonymous login (omit username and password parameters)\n" +
         "\t-b - use binary transfer mode\n" +
         "\t-c cmd - issue arbitrary command (remote is used as a parameter if provided) \n"
+
         "\t-d - list directory details using MLSD (remote is used as the pathname if provided)\n"
+
@@ -63,6 +63,7 @@ public final class FTPClientExample
         "\t-h - list hidden files (applies to -l and -n only)\n" +
         "\t-k secs - use keep-alive timer (setControlKeepAliveTimeout)\n" +
         "\t-l - list files using LIST (remote is used as the pathname if provided)\n" +
+        "\t     Files are listed twice: first in raw mode, then as the formatted parsed data.\n"
+
         "\t-L - use lenient future dates (server dates may be up to 1 day into future)\n"
+
         "\t-n - list file names using NLST (remote is used as the pathname if provided)\n"
+
         "\t-p true|false|protocol[,true|false] - use FTPSClient with the specified protocol
and/or isImplicit setting\n" +



Mime
View raw message