lazebird.rabbit.tftp
2.0.2
an stupid tftp server
See the version list below for details.
Install-Package lazebird.rabbit.tftp -Version 2.0.2
dotnet add package lazebird.rabbit.tftp --version 2.0.2
<PackageReference Include="lazebird.rabbit.tftp" Version="2.0.2" />
paket add lazebird.rabbit.tftp --version 2.0.2
#r "nuget: lazebird.rabbit.tftp, 2.0.2"
rtftpd
Description
Target
API
public rtftpd(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
rtftpd rtftpd = new rtftpd(rtftpd_log_func);
rtftpd.add_dir(t.Text);
int rtftpd_log_func(int line, string msg)
{
return rtftpdlog.write(line, msg);
}
rtftpd
Description
Target
API
public rtftpd(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
rtftpd rtftpd = new rtftpd(rtftpd_log_func);
rtftpd.add_dir(t.Text);
int rtftpd_log_func(int line, string msg)
{
return rtftpdlog.write(line, msg);
}
Release Notes
support tftp add dir, del dir
Dependencies
-
- Tftp.Net (>= 1.1.0)
Used By
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 |