Skip to main content

FtpMemoryListener Class

NuGet: GHIElectronics.TinyCLR.Networking.Ftp
Assembly: GHIElectronics.TinyCLR.Networking.Ftp
Namespace: GHIElectronics.TinyCLR.Networking.Ftp

An FTP listener that serves a fixed in-memory set of files and an activity log.

public sealed class FtpMemoryListener : FtpListener

Constructors

FtpMemoryListener()

public FtpMemoryListener() : base(true)

Creates the in-memory listener registered with the listener manager.

Methods

Start()

public override void Start()

Starts the listener and its worker thread.

AddFile(FileInfo info)

public void AddFile(FileInfo info)

Adds a file to the set served by this listener.