12-37
Creating A Script File
FTP CONNECT
Syntax: FTP CONNECT <system> <host> [<login> <password> <account>]
This enables you to make a host connection for FTP file transfer.
The <system> entry specifies the type of operating system used by the remote host
and must be one of the following entered exactly as shown and enclosed by double
quotes:
Auto NT IBM (MVS) IBM (Interlink)
VAX UCX V1 UNIX Dos Other
VAX UCX V2 Tandem HP3000
VAX UCX V3 VAX TCPWare AS400
VAX MultiNet Prime KNET/MVS
Auto will cause FTP to automatically select the appropriate operating system and this
setting will be suitable in most cases. Note that some DOS based FTP servers cannot
automatically be resolved, so it is advisable to select DOS when you know the target
server is based on a DOS machine. VAX UCX applies to versions higher than V2.
Only choose Other if none of the other selections work.
Any of the <login>, <password> and <account> parameters may be omitted, but if a
specified parameter follows then an empty string must be entered for the omitted
parameter(s). The following example specifies the host as pericom, omits the login
parameter, specifies a password and omits the account:
ftp connect "Auto" "pericom" "" "password"
Refer to the Error Numbers section later in this chapter for a list of possible error
numbers for this command.
FTP COPYDLG
Syntax: FTP COPYDLG <ON/OFF>
When set to ON, this command will cause a message box to be displayed when a file
is being transferred indicating that the transfer is in progress. The box will be cleared
from the display once the transfer is completed.