OhioSessionFtpSendAsync Method |
Performs an FTP file send to the host.
Namespace: Flex.Hal.OhioAssembly: Flex.Hal.Ohio (in Flex.Hal.Ohio.dll) Version: 6.0.8219.1880
Syntax public Task<bool> FtpSendAsync(
FtpSettings settings,
string localfile,
string hostfile,
TransferFileType filetype,
CancellationToken canceltoken = default
)
Public Function FtpSendAsync (
settings As FtpSettings,
localfile As String,
hostfile As String,
filetype As TransferFileType,
Optional canceltoken As CancellationToken = Nothing
) As Task(Of Boolean)
Parameters
- settings FtpSettings
- Transfer settings
- localfile String
- Local file name
- hostfile String
- Host file name
- filetype TransferFileType
- File type (Text or Binary)
- canceltoken CancellationToken (Optional)
- Token to cancel
Return Value
TaskBooleanTrue if successful
See Also