Script Command: upload


(Contents)(Previous)(Next)

Format:

upload "filename" {using PROTOCOL} {abort LABEL_NAME};

The upload command causes the file "filename" to transfer to the host. You can use the optional using command to specify one of the following file transfer protocols:

· ZMODEM (this is the default if you do not specify a protocol)

· XMODEM

· XMODEM1K

· YMODEM

· YMODEM1K

· YMODEM1KG

If you specify abort LABEL_NAME, the script will branch to the label with name LABEL_NAME if the file transfer fails or the user cancels it.

Example:

// Send the file MYFILE.EXE to the host

// using the XMODEM protocol

upload "MYFILE.EXE" using XMODEM;


(Contents)(Previous)(Next)