lazebird.rabbit.tftp
2.0.1
an stupid tftp server
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" />
paket add lazebird.rabbit.tftp --version 2.0.1
#r "nuget: lazebird.rabbit.tftp, 2.0.1"
tftpd
Description
Target
API
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.public void add_dir(string dir)
Add a folder to the root directory
Path: folder pathpublic void del_dir(string path)
Delete a folder from the root directory
Path: folder pathpublic void start(int port)
Start the serverpublic 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
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.public void add_dir(string dir)
Add a folder to the root directory
Path: folder pathpublic void del_dir(string path)
Delete a folder from the root directory
Path: folder pathpublic void start(int port)
Start the serverpublic 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
Dependencies
-
- Tftp.Net (>= 1.1.0)
Used By
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 |