AppCtrlScript

MAY Computer

Help

FTPUPLOAD

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

File

See also  

FTPDOWNLOAD, HTTPDOWNLOAD

Upload a file to an FTP site (via FTP protocol).

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

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

Syntax

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

Part

Description

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

 

Samples

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