https://github.com/connorkuehl/tftp
An implementation of the Trivial File Transfer Protocol (TFTP; RFC 1350) complete with a client and server
https://github.com/connorkuehl/tftp
hacktoberfest network-programming tftp
Last synced: 3 months ago
JSON representation
An implementation of the Trivial File Transfer Protocol (TFTP; RFC 1350) complete with a client and server
- Host: GitHub
- URL: https://github.com/connorkuehl/tftp
- Owner: connorkuehl
- License: apache-2.0
- Created: 2020-09-21T23:05:57.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-14T23:33:50.000Z (over 4 years ago)
- Last Synced: 2023-03-06T18:39:34.813Z (about 2 years ago)
- Topics: hacktoberfest, network-programming, tftp
- Language: Rust
- Homepage:
- Size: 156 KB
- Stars: 15
- Watchers: 4
- Forks: 14
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/connorkuehl/tftp/actions?query=workflow%3A%22test%22)
# tftp
The `tftp` crate provides implementations for the following components of
the Trivial File Transfer Protocol (RFC 1350):* The protocol (types that represent TFTP packets as well as types that
can participate in the TFTP flow for reading or writing files with
TFTP.
* A client
* A serverFor more information, please see [THE TFTP PROTOCOL (REVISION 2)](
https://tools.ietf.org/html/rfc1350).### Try it out
In one terminal window, start up the server:
```console
$ cargo run --example server 0.0.0.0:6655 ./artifacts
Serving Trivial File Transfer Protocol (TFTP) @ 0.0.0.0:6655
```Then in another window:
```console
$ cargo run --example client 0.0.0.0:6655 get alice-in-wonderland.txt
[..]
The Project Gutenberg EBook of Alice’s Adventures in Wonderland, by Lewis
Carroll This eBook is for the use of anyone anywhere at no cost and with
almost no restrictions whatsoever. You may copy it, give it away or
re-use it under the terms of the Project Gutenberg License included
with this eBook or online at www.gutenberg.orgTitle: Alice’s Adventures in Wonderland
[..]
```Alternatively, you may connect to your server from another host.
License: Apache-2.0