FileReceiver Class
Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.dll (version 7.0.9119)
Provides functionality for receiving files using terminal.
Syntax
public class FileReceiver : IDisposable
Implements
Inherited Members
Properties
Name | Description |
---|---|
FileName | Gets the current file name. |
IsFinished | Gets a value indicating whether the FileReceiver has finished working. |
LastWriteTime | Gets the current file last modification date and time if specified by the sender. |
Length | Gets the current file length if specified by the sender. |
Methods
Name | Description |
---|---|
Close() | Closes the FileReceiver, so other terminal operations can be performed. |
ReadNext() | Receives next file header to be processed. |
Receive(Stream) | Saves the incoming file to the specified stream. |
Receive(String) | Saves the incoming file to the specified path. |
Explicit Interface Implementations
Name | Description |
---|---|
IDisposable.Dispose() | Releases all resources used by the current FileReceiver. |