Click or drag to resize

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
)

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: TaskBoolean
True if successful
See Also