Connects to an FTP server, receives multiple files or an entire directory structure, then disconnects from the FTP server.
Parameters
Parameter
Description
sServerAddress
The IP address or host name of the FTP server to connect to.
lServerPort
The IP port that the FTP server is listening on (usually 21).
sUserName
The username to log in (usually "anonymous").
sPassword
The password (for anonymous users, usually "guest").
sRemoteFileMask
The file mask (path optional) of the remote files to receive. All the remote files that match the path and file mask specified by the sRemoteFileMask parameter will be received. See Wildcards
.
bProcessSubfolders
Pass True to recursively scan remote subfolders to find files that match the sRemoteFileMask parameter. Pass False to receive only files directly located in the specified remote path without scanning subfolders.
sLocalFolder
The files that end up being received are placed in the local folder specified by this parameter.
bAsciiTransfer
Pass True to receive the files in ASCII mode, or pass False to receive the files in binary mode.