File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
src/main/java/org/apache/commons/net/examples/ftp Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 41
41
* </p>
42
42
*/
43
43
public final class TFTPExample {
44
- static final String USAGE = "Usage: TFTPExample [options] hostname localfile remotefile\n \n " + "hostname - The name of the remote host [:port]\n "
44
+ // @formatter:off
45
+ static final String USAGE = "Usage: TFTPExample [options] hostname localfile remotefile\n \n "
46
+ + "hostname - The name of the remote host [:port]\n "
45
47
+ "localfile - The name of the local file to send or the name to use for\n " + "\t the received file\n "
46
48
+ "remotefile - The name of the remote file to receive or the name for\n " + "\t the remote server to use to name the local file being sent.\n \n "
47
- + "options: (The default is to assume -r -b)\n " + "\t -t timeout in seconds (default 60s)\n " + "\t -s Send a local file\n "
48
- + "\t -r Receive a remote file\n " + "\t -a Use ASCII transfer mode\n " + "\t -b Use binary transfer mode\n " + "\t -v Verbose (trace packets)\n " ;
49
+ + "options: (The default is to assume -r -b)\n "
50
+ + "\t -t timeout in seconds (default 60s)\n "
51
+ + "\t -s Send a local file\n "
52
+ + "\t -r Receive a remote file\n "
53
+ + "\t -a Use ASCII transfer mode\n "
54
+ + "\t -b Use binary transfer mode\n "
55
+ + "\t -v Verbose (trace packets)\n " ;
56
+ // @formatter:on
49
57
50
58
private static boolean close (final TFTPClient tftp , final Closeable output ) {
51
59
boolean closed ;
You can’t perform that action at this time.
0 commit comments