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: 6.0.8219.1880
Syntax
public Task<bool> FtpSendAsync(
	FtpSettings settings,
	string localfile,
	string hostfile,
	TransferFileType filetype,
	CancellationToken canceltoken = default
)

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

TaskBoolean
True if successful
See Also