Click or drag to resize

IFTPUploadFile Method

Upload multiple files to a remote server

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
bool UploadFile(
	string localPath,
	string localFile,
	string remotePath,
	string remoteFile,
	FTPFileTransferAttributes transferAttrs,
	FTPCreateDisposition disposition,
	FTPRemoteAccessMode access
)

Parameters

localPath
Type: SystemString
Full path to the local file
localFile
Type: SystemString
A file name pattern to select files to upload. Accepts standard wildcard naming convention (e.g. *.xml to upload all xml files in the specified folder)
remotePath
Type: SystemString
Path to store uploaded files 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
disposition
Type: NetQuarryFTPCreateDisposition
Set the file creation properties for the transfer
access
Type: NetQuarryFTPRemoteAccessMode
Set the file access properties for the transfer

Return Value

Type: Boolean
True upon successful transfer, else false.
See Also