Click or drag to resize

IFTPUploadMultipleFiles 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 UploadMultipleFiles(
	string localPath,
	string localFile,
	string remotePath,
	FTPFileTransferAttributes transferAttrs
)

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
transferAttrs
Type: NetQuarryFTPFileTransferAttributes
Specify Behavior of file transfer session

Return Value

Type: Boolean
True only if all selected files were uploaded successfully. To see the download status of each file transfer, inspect the FileTransferResults property
See Also