Function Reference
_FTP_FileGet
Get file from a FTP server
#include <FTPEx.au3>
_FTP_FileGet ( $hFTPSession, $sRemoteFile, $sLocalFile [, $bFailIfExists = False [, $iFlagsAndAttributes = 0 [, $iFlags = $FTP_TRANSFER_TYPE_UNKNOWN [, $iContext = 0]]]] )
Parameters
$sRemoteFile
The remote Location for the file.
$sLocalFile
The local file.
$bFailIfExists
[optional] True: do not overwrite existing (default = False).
$iFlagsAndAttributes
[optional] File attributes for the new file.
$iContext
[optional] A variable that contains the application-defined value that associates this search with any application data.
This is only used if the application has already called
_FTP_SetStatusCallback() to set up a status callback function.
Return Value
Success:
1.
Failure:
0 and sets the @error flag to non-zero.
Related
_FTP_Connect, _FTP_FileOpen, _FTP_SetStatusCallback
See Also
Search FtpGetFile in MSDN Library.