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
)
Function DownloadSingleFile (
remotePath As String,
remoteFile As String,
localFilePath As String,
transferAttrs As FTPFileTransferAttributes
) As Boolean
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:
BooleanTrue if the file transfer was successful. To see the upload status of each file transfer, inspect the
FileTransferResults property
See Also