OhioSessionIndSendAsync Method |
Performs an IND$FILE send file to the host.
Namespace: Flex.Hal.OhioAssembly: Flex.Hal.Ohio (in Flex.Hal.Ohio.dll) Version: 6.0.8219.1880
Syntax public Task<bool> IndSendAsync(
IndSettings settings,
TransferHost hostos,
string localfile,
string hostfile,
TransferFileType filetype,
CancellationToken canceltoken = default
)
Public Function IndSendAsync (
settings As IndSettings,
hostos As TransferHost,
localfile As String,
hostfile As String,
filetype As TransferFileType,
Optional canceltoken As CancellationToken = Nothing
) As Task(Of Boolean)
Parameters
- settings IndSettings
- Transfer settings
- hostos TransferHost
- Host OS type.
- localfile String
- Local file name.
- hostfile String
- Host file name.
- filetype TransferFileType
- File type (Text or Binary).
- canceltoken CancellationToken (Optional)
- Token to cancel the send.
Return Value
TaskBooleanTrue if file is sent successfully; otherwise false.
See Also