FileSender.Send Method
Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.dll (version 7.0.9083)
Send(String)
Sends a file to the remote end.
Declaration
public void Send(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | File path to read data from. |
Send(Stream, String)
Sends a file to the remote end.
Declaration
public void Send(Stream source, string fileName)
Parameters
Type | Name | Description |
---|---|---|
Stream | source | Stream to read data from. |
String | fileName | Name of the file. |
Send(Stream, String, Nullable<Int64>, Nullable<DateTime>)
Sends a file to the remote end.
Declaration
public void Send(Stream source, string fileName, long? length, DateTime? lastWriteTime)
Parameters
Type | Name | Description |
---|---|---|
Stream | source | Stream to read data from. |
String | fileName | Name of the file. |
Nullable<Int64> | length | Length of the file is known. |
Nullable<DateTime> | lastWriteTime | Date and time of last modification if known. |