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