File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/net/examples/ftp Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 * </p>
4242 */
4343public 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 "
4547 + "localfile - The name of the local file to send or the name to use for\n " + "\t the received file\n "
4648 + "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
4957
5058 private static boolean close (final TFTPClient tftp , final Closeable output ) {
5159 boolean closed ;
You can’t perform that action at this time.
0 commit comments