FileTransfers Class
Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.dll (version 7.0.9119)
Provides functionality for file transfers. Makes it possible to programmatically send and receive files using terminal.
Syntax
public class FileTransfers
Inherited Members
Properties
Name | Description |
---|---|
BlockSize | Gets or sets a size of data block the sender uses when sending data (effective for sender only). |
EnableStreaming | Gets or sets a value indicating whether the receiver initiates receiving in stream mode (effective for receiver only). Use this mode with caution. There is serious risk of buffer overrun on the serial port, that the protocol would not notice. |
Terminal | Gets the containing terminal object. |
Timeout | Gets or sets the length of time in milliseconds before the operation times out (specify -1 or 0 to indicate that the request does not time out). |
Methods
Name | Description |
---|---|
StartReceiver() | Initiates receiving of files using specified protocol. From that moment, all data received from the remote end are interpreted by the protocol, so they are not printed on the terminal. |
StartSender() | Initiates sending of files using specified protocol. From that moment, all data received from the remote end are interpreted by the protocol, so they are not printed on the terminal. |
Events
Name | Description |
---|---|
TransferProgressChanged | Occurs when a transfer progress is changed. |