FTP Object
GetFile
Syntax
FTP.
GetFile(
remoteFilename
As String,
localFilename
As String) As Long
Description
Copies a file from the FTP server to the local filesystem. Returns true for success and false for failure.
Parameter
Description
remoteFilename
String, the name of the file to be downloaded.
localFilename
String, the path- and filename of the local file.
See Also
MGetFiles
,
PutFile
,
MPutFiles
.
Home
Introduction
FTP Object
Properties
Methods
Methods
ChangeRemoteDir
Connect
CreateRemoteDir
DeleteMatching
DeleteRemoteFile
Disconnect
GetCreateTime
GetCurrentDirListing
GetCurrentRemoteDir
GetFile
GetFilename
GetIsDirectory
GetLastAccessTime
GetLastModifiedTime
GetRemoteFileBinaryData
GetRemoteFileTextData
GetSize
MGetFiles
MPutFiles
PutFile
PutFileFromBinaryData
PutFileFromTextData
RemoveRemoteDir
RenameRemoteFile
SaveLastError
Examples