Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

FileReceiver Class

Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.dll (version 7.0.9147)

Provides functionality for receiving files using terminal.

Syntax
public class FileReceiver : IDisposable
Inheritance
Object
FileReceiver
Implements
IDisposable
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

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.

In This Article
  • Properties
  • Methods
  • Explicit Interface Implementations
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies