lazebird.rabbit.tftp 3.0.0

dotnet add package lazebird.rabbit.tftp --version 3.0.0                
NuGet\Install-Package lazebird.rabbit.tftp -Version 3.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="3.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 3.0.0                
#r "nuget: lazebird.rabbit.tftp, 3.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=3.0.0

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

rtftpd

Description

Target

API

  1. 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.
  2. public void set_cwd(string path)

    • set current work directory
    • Path: folder path
  3. public void start(int port, Hashtable opts)

    • Start the server
    • port: udp port, recommend 69
    • opts:
  • timeout: Receive timeout, default 200 ms          - maxretry: number of message retransmissions, default 10          - blksize: block size, default 512 bytes; usually initiated by the client          - qsize: file read and write queue size, large queue means high memory usage, and concurrency guarantee is also better, default 2000, usually no need to modify          - qtout: file read and write queue timeout, large timeout means high fault tolerance, default 1000ms, usually no need to modify          - override: The file overrides the write identifier, which is mainly valid when the client puts the request. When it is true, the file put by the client and the local conflict are allowed to be overwritten. Otherwise, the prompt file already exists.          - fslog: The file system prints the log identifier. When it is true, it will additionally print the file read and write information for file system debugging.
  1. public void stop()
    • Stop the server while emptying the listening folder

Sample

```
rtftpd rtftpd = new rtftpd(rtftpd_log_func);
rtftpd.set_cwd(t.Text);
int rtftpd_log_func(int line, string msg)
{
    return rtftpdlog.write(line, msg);
}
tftpd.start(69, ropt.parse_opts(text_tftpdopt.Text));
```
Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

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 764 6/27/2019
2.1.1 840 9/11/2018
2.1.0 882 8/15/2018
2.0.9 801 7/31/2018
2.0.8 839 7/27/2018
2.0.7 796 7/27/2018
2.0.6 843 7/27/2018
2.0.5 851 7/26/2018
2.0.4 803 7/24/2018
2.0.3 800 7/23/2018
2.0.2 940 7/3/2018
2.0.1 915 7/3/2018
2.0.0 911 7/2/2018
1.0.0 952 6/28/2018

support tftp add dir, del dir