InternetFileUpload

All Editions  image\bltlrgss.gif Related Transactions  image\bltlrgss.gif Example

The InternetFileUpload transaction places the specified local file onto an Internet server using FTP protocol.

Type XTYP_EXECUTE

Syntax [InternetFileUpload("server", "userID", "password", port, "localFile", <"remoteFile">)]

Parameter

Data type

Values

Meaning

server

string

name of the Internet server (or URL)

userID

string

text

valid user ID

password

string

text

valid password

port

WORD

0

default port number

 

 

other integer

valid port number

localFile

string

full name and path of the file to upload

remoteFile

string

path, name, or path and name of the file on the server. Optional parameter.

Remarks

The remoteFile parameter allows you to specify the path on the server, and change the file's name.

Several error messages are specific to this and related transactions. For a list of all error codes, click DDE error codes.

Release information

Added in Release 5.10.

See also

Uploading and downloading Internet files