Sends a file to the remote end.
Namespace:
Rebex.TerminalEmulation
Assembly:
Rebex.Terminal (in Rebex.Terminal.dll)
Syntax
Visual Basic |
---|
Public Sub Send ( _ source As Stream, _ fileName As String, _ length As Nullable(Of Long), _ lastWriteTime As Nullable(Of DateTime) _ ) |
C# |
---|
public void Send( Stream source, string fileName, Nullable<long> length, Nullable<DateTime> lastWriteTime ) |
Parameters
- source
- Type: System.IO..::..Stream
Stream to read data from.
- fileName
- Type: System..::..String
Name of the file.
- length
- Type: System..::..Nullable<(Of <(<'Int64>)>)>
Length of the file is known.
- lastWriteTime
- Type: System..::..Nullable<(Of <(<'DateTime>)>)>
Date and time of last modification if known.