Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.
/ TFTPClient Public archive

Client for the implementaion of the TFTP spezification RFC 1350 in Java.

License

Notifications You must be signed in to change notification settings

schwankner/TFTPClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TFTPClient

Client for the implementation of the TFTP specification RFC 1350 in Java.

Usage

Parameter Description Default Example
-i, --inputFile Path to input file testfile.txt
-o, --outputFile Path to output file 192.168.1.2@output.txt
-p, --remotePort RemotePort for connection with remote host. 69 2069
-r, --retries How many times tftpclient retries to send its messages. 5 sec. 5
-t, --timeout Timeout between sending and retries. 10 sec. 10
-v, --verbose Verbose output for debugging
-h, --help This help table.

Example

java -jar TFTPClient-jar-with-dependencies.jar --inputFile=testfile.txt --outputFile=localhost@filepath\output.txt --retries=5 --timeout=10 -v

Compilation

  • 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/TFTPClient-jar-with-dependencies.jar. You can copy and rename this file to whatever you want and put it wherever you want. Happy TFTP ;)

Contribution and License Agreement

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.

License

Modifications and samples are GPL-3.

  • Copyright (c) 2018, Jonas Hilke
  • Copyright (c) 2018, Alexander Schwankner

About

Client for the implementaion of the TFTP spezification RFC 1350 in Java.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages