Server for the implementation of the TFTP specification RFC 1350 in Java.
Parameter | Description | Default | Example |
---|---|---|---|
-p, --port | Port for connection from remote clients. | 69 | 65054 |
-r, --retries | How many times tftpclient retries to send its messages. | 5 sec. | 10 |
-t, --timeout | Timeout between sending and retries. | 10 sec. | 5 |
-v, --verbose | Verbose output for debugging. | ||
-h, --help | This help table. |
java -jar TFTPServer-jar-with-dependencies.jar --remotePort=69 --retries=5 --timeout=10 -v
-
First, get the TFTPLibrary and build it in its root directory with:
mvn package
-
Then clone this repository and adjust the systemPath in the dependency net.schwankner.tftplibrary to your local path to the library's .jar file.
-
Now build this project with:
mvn package
-
You will find the .jar file under ./target/TFTPServer-jar-with-dependencies.jar. You can copy and rename this file to whatever you want and put it wherever you want. Happy TFTP ;)
If you contribute code to this project, you are implicitly allowing your code to be distributed under the respective license. You are also implicitly verifying that all code is your original work or correctly attributed with the source of its origin and licence.
Modifications and samples are GPL-3.
- Copyright (c) 2018, Jonas Hilke
- Copyright (c) 2018, Alexander Schwankner