|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectexamples.ftp.TFTPExample
public final class TFTPExample
This is an example of a simple Java tftp client using NetComponents. Notice how all of the code is really just argument processing and error handling.
Usage: tftp [options] hostname localfile remotefile hostname - The name of the remote host localfile - The name of the local file to send or the name to use for the received file remotefile - The name of the remote file to receive or the name for the remote server to use to name the local file being sent. options: (The default is to assume -r -b) -s Send a local file -r Receive a remote file -a Use ASCII transfer mode -b Use binary transfer mode
Constructor Summary | |
---|---|
TFTPExample()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TFTPExample()
Method Detail |
---|
public static final void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |