lazebird.rabbit.tftp 2.0.0

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.0
dotnet add package lazebird.rabbit.tftp --version 2.0.0
<PackageReference Include="lazebird.rabbit.tftp" Version="2.0.0" />
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.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: lazebird.rabbit.tftp, 2.0.0"
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)
    构造函数
    log:log输出接口;第一个参数为输出位置,0表示自动占位置,第二个参数为待输出字符串,返回值为输出位置;该接口最初用于ListBox的同行进度更新。

  2. public void add_dir(string dir)
    添加文件夹到根目录中
    path:文件夹路径

  3. public void del_dir(string path)
    从根目录中删除文件夹
    path:文件夹路径

  4. public void start(int port)
    启动服务器

  5. public void stop()
    停止服务器,同时清空侦听的文件夹

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)
    构造函数
    log:log输出接口;第一个参数为输出位置,0表示自动占位置,第二个参数为待输出字符串,返回值为输出位置;该接口最初用于ListBox的同行进度更新。

  2. public void add_dir(string dir)
    添加文件夹到根目录中
    path:文件夹路径

  3. public void del_dir(string path)
    从根目录中删除文件夹
    path:文件夹路径

  4. public void start(int port)
    启动服务器

  5. public void stop()
    停止服务器,同时清空侦听的文件夹

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

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
3.0.0 253 6/27/2019
2.1.1 398 9/11/2018
2.1.0 429 8/15/2018
2.0.9 388 7/31/2018
2.0.8 433 7/27/2018
2.0.7 383 7/27/2018
2.0.6 424 7/27/2018
2.0.5 436 7/26/2018
2.0.4 393 7/24/2018
2.0.3 372 7/23/2018
2.0.2 473 7/3/2018
2.0.1 444 7/3/2018
2.0.0 442 7/2/2018
1.0.0 453 6/28/2018
Show less