Click or drag to resize

IFTPDownloadSingleFile Method

Download a single file from a remote server

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
bool DownloadSingleFile(
	string remotePath,
	string remoteFile,
	string localFilePath,
	FTPFileTransferAttributes transferAttrs
)

Parameters

remotePath
Type: SystemString
Path to the remote file
remoteFile
Type: SystemString
File name of the file to transfer on the remote server
localFilePath
Type: SystemString
Full path and name of transferred file on local machine
transferAttrs
Type: NetQuarryFTPFileTransferAttributes
Specify Behavior of file transfer session

Return Value

Type: Boolean
True if the file transfer was successful. To see the upload status of each file transfer, inspect the FileTransferResults property
See Also