Giter Site home page Giter Site logo

tftpclient's Introduction

TFTPClient

Managed TFTP client implementation, written in C#. Supports:

  • IPv4 and IPv6
  • correct retry behavior.
  • TFTP options: block size, transfer size, and timeout.
  • unlimited transfer sizes
  • permissive license for commercial use.
  • contains an easy to use library and a command line client

See the wikipage Documentation for more information on how to use the library from your own code.

Here's the help page from the command line utility:

TFTPClient 1.0.0
Transfers files to and from a remote computer running the TFTP service.

Usage: TFTPClient [options]+ host[:port]

  --get                  get a file from remote to local
  --put                  put a file from local to remote
  --local=VALUE          local filename
  --remote=VALUE         remote filename
  --serverport=VALUE     override server port (default: 69)
  --blocksize=VALUE      set blocksize (default: 512)
  --timeout=VALUE        set response timeout [s](s) (default: 2)
  --retries=VALUE        set maximum retries (default: 5)
  --verbose              generate verbose tracing
  --ipv6                 resolve hostname to an ipv6 address
  --dontfragment         don't allow packet fragmentation (default: allowed)

  --silent               don't show progress information
  --ttl=VALUE            set time to live
  -?, -h, --help         show help

Screenshot of TFTP Client desktop application:

I'm also working on a cross platform desktop UI client, using Avalonia (tested on Win11 and Linux). It's in a separate repository located here: https://github.com/jpmikkers/Avalonia-TFTPClient

tftpclient's People

Contributors

jpmikkers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tftpclient's Issues

Access Violation

I have successfully used this client for transferring a bin file to a device.
But when I tried for another model, from the same vendor, I got Access Violation.

TFTPClient.Upload(New IPEndPoint(IPAddress.Parse("192.168.0.21"), 69), System.IO.Directory.GetCurrentDirectory() & "\" & path, "/tmp/temp/fw_1200.bin")

Why am I getting this error? it maybe something with the server?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.