Click or drag to resize

IFTPUploadSingleFile Method

Upload a single file to a remote server

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

Parameters

localFilePath
Type: SystemString
Full path to the local file
remotePath
Type: SystemString
Path to store uploaded file on remote server
remoteFile
Type: SystemString
Name of file on remote server after file transfer is complete
transferAttrs
Type: NetQuarryFTPFileTransferAttributes
Specify Behavior of file transfer session

Return Value

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