lazebird.rabbit.tftp 2.0.1

an stupid tftp server

There is a newer version of this package available.
See the version list below for details.
Install-Package lazebird.rabbit.tftp -Version 2.0.1
dotnet add package lazebird.rabbit.tftp --version 2.0.1
<PackageReference Include="lazebird.rabbit.tftp" Version="2.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add lazebird.rabbit.tftp --version 2.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: lazebird.rabbit.tftp, 2.0.1"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

tftpd

Description

Target

API

  1. public tftpd(Func<int, string, int> log)
    Constructor
    Log: log output interface; the first parameter is the output position, 0 means automatic position, the second parameter is the string to be output, and the return value is the output position; the interface is initially used for peer progress update of ListBox.

  2. public void add_dir(string dir)
    Add a folder to the root directory
    Path: folder path

  3. public void del_dir(string path)
    Delete a folder from the root directory
    Path: folder path

  4. public void start(int port)
    Start the server

  5. public void stop()
    Stop the server while emptying the listening folder

Sample

tftpd tftpd = new tftpd(tftpd_log_func);
tftpd.add_dir(t.Text);
int tftpd_log_func(int line, string msg)
{
    return tftpdlog.write(line, msg);
}

tftpd

Description

Target

API

  1. public tftpd(Func<int, string, int> log)
    Constructor
    Log: log output interface; the first parameter is the output position, 0 means automatic position, the second parameter is the string to be output, and the return value is the output position; the interface is initially used for peer progress update of ListBox.

  2. public void add_dir(string dir)
    Add a folder to the root directory
    Path: folder path

  3. public void del_dir(string path)
    Delete a folder from the root directory
    Path: folder path

  4. public void start(int port)
    Start the server

  5. public void stop()
    Stop the server while emptying the listening folder

Sample

tftpd tftpd = new tftpd(tftpd_log_func);
tftpd.add_dir(t.Text);
int tftpd_log_func(int line, string msg)
{
    return tftpdlog.write(line, msg);
}

Release Notes

support tftp add dir, del dir

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
3.0.0 249 6/27/2019
2.1.1 381 9/11/2018
2.1.0 396 8/15/2018
2.0.9 384 7/31/2018
2.0.8 433 7/27/2018
2.0.7 379 7/27/2018
2.0.6 424 7/27/2018
2.0.5 432 7/26/2018
2.0.4 389 7/24/2018
2.0.3 368 7/23/2018
2.0.2 469 7/3/2018
2.0.1 440 7/3/2018
2.0.0 438 7/2/2018
1.0.0 449 6/28/2018
Show less