lazebird.rabbit.tftp 2.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package lazebird.rabbit.tftp --version 2.0.0
NuGet\Install-Package lazebird.rabbit.tftp -Version 2.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<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
#r "nuget: lazebird.rabbit.tftp, 2.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install lazebird.rabbit.tftp as a Cake Addin
#addin nuget:?package=lazebird.rabbit.tftp&version=2.0.0

// Install lazebird.rabbit.tftp as a Cake Tool
#tool nuget:?package=lazebird.rabbit.tftp&version=2.0.0

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);
}
Product Compatible and additional computed target framework versions.
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.0 710 6/27/2019
2.1.1 806 9/11/2018
2.1.0 848 8/15/2018
2.0.9 773 7/31/2018
2.0.8 811 7/27/2018
2.0.7 770 7/27/2018
2.0.6 818 7/27/2018
2.0.5 826 7/26/2018
2.0.4 779 7/24/2018
2.0.3 775 7/23/2018
2.0.2 913 7/3/2018
2.0.1 888 7/3/2018
2.0.0 884 7/2/2018
1.0.0 923 6/28/2018

support tftp add dir, del dir