OhioSessionFtpRecvAsync Method |
Performs an FTP file receive from the host.
Namespace:
Flex.Hal.Ohio
Assembly:
Flex.Hal.Ohio (in Flex.Hal.Ohio.dll) Version: 4.1.4031.1525
Syntax public Task<bool> FtpRecvAsync(
FtpSettings settings,
string localfile,
string hostfile,
TransferFileType filetype,
CancellationToken canceltoken
)
Public Function FtpRecvAsync (
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