AppCtrlScript

MAY Computer

Help

FTPDOWNLOAD

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

File

See also  

HTTPDOWNLOAD, FTPUPLOAD

Download a file from an FTP site (via FTP protocol).

The "FTP://" in front of the url can be omitted. Only one file can be downloaded at a time.

If <Username> and <Password> are omitted then anonymous login is performed.

Syntax

FTPDOWNLOAD[FILE] <FTPSite>, <RemoteFilename>, <LocalFilename>[, <User>][, <Pwd>]

Part

Description

<FTPSite> FTP Site root where to download the file from.
<RemoteFilename> Remote path and file name - path separation character must be the normal slash ("/")!
<LocalFilename> Local location where to save the downloaded file.
<User> Optional user name. If omitted anonymous is assumed.
<Pwd> Optional password.

 

Samples
FTPDOWNLOAD "ftp.myserver.com", "usr/testfile.txt", "f:\poll\testfile.txt"