Sample Script to Send Multiple Files
The following script (named sample2.txt) sends several files to a remote computer.
|
Start
Connect:Direct® FTP+ with
the '-s:sample2.txt' parameter to execute this script.
- The open command opens the connection with the server. The remote computer name (Dallas43) is ignored. The connection with the server is controlled through the configuration file.
- The user and pass commands are also ignored. The server uses the information in the configuration file to complete the logon.
- The lcd c:\myweb command sets the local directory to c:\myweb.
- The cd /data.in.satellite command sets the directory on the remote computer to /data.in.satellite.
- The mput index.htm index.html index.dat commands sends the three listed files to the /data.in.satellite directory on the remote computer.
- The quit command ends the session.