| Table of Contents | Intro | Quickstart | Phonebook | DP Viewer | Cmd. Line Ref. | Transferring Files BLAST Protocol | Xmodem | FTP | BLASTscript Topics | Connecting/Disconnecting Command Ref. | Reserved Variables | Autopoll | Error Messages | ASCII Char. Set |
The easiest way to become familiar with the basic features of Data Pump is to transfer several files using Blaster, BLAST's dial-up demonstration and testing service, available 24 hours a day, seven days a week. This chapter will guide you through the basic steps of a file transfer. You will:
Although we recommend that you complete the Quickstart in one sitting, you may elect to stop and quit Data Pump and finish the guided transfer at a later time.
IMPORTANT: Data Pump must be properly installed and a modem properly configured and connected before beginning this Quickstart.
If you have not started Data Pump, start it by selecting "Data Pump" from the Start Menu. At this point, depending on your monitor, you may want to rescale and reposition your browser and your Data Pump window so that you may see them both simultaneously.
NOTE: In order to view this Quickstart properly, the right edge of your browser should extend just beyond the end of the blue line below.
Phonebooks contain all the information that Data Pump needs to connect to and communicate with remote computers. Each listing is a separate file created and modified through the Phonebook Editor. For this demonstration, you will use a phonebook listing called Blaster, which was copied to your disk during Data Pump installation. To access the Blaster phonebook listing for editing, follow these steps:
|
|
When you open the Blaster listing, you will see the General Properties Page shown on the right.
Now you need to open, or "load," the Blaster Listing:
Now you will run a simple filetransfer script called "blaster.txt" that was included during installation of Data Pump. Before, we run the script, let's take a moment to examine the script. The main portion of the of the script is given below:
CONNECT
IF ok display "Connect"
ELSE display "Couldn’t connect"
FILETRANSFER
GET "blaster.msg", "news.msg", "to"
ESC
FILETRANSFER
SEND "news.msg", "news.msg", "to"
ESC
DISCONNECT
OFFLINE
The first line tells Data Pump to connect to the remote computer using the information stored in the Blaster phonebook listing. The next two lines, an IF-ELSE statement, lets the user know if the connection has been made. The fourth line tells Data Pump to enter Filetransfer mode. The line that begins with GET tells Data Pump to retrieve from Blaster a file called "blaster.msg" and to name the file "news.msg" on your computer. The "to" at the end of the line tells Data Pump to transfer the file using text translation ("t") and to overwrite ("o") any old versions of the file. Similarly the line beginning with GET tells Data Pump to send the file "news.msg" to Blaster using the text translation and overwrite option. The lines containing ESC tell Data Pump to exit file transfer. The last two lines disconnect your computer from the remote computer and takes Data Pump offline.
Now to run the script:
When Data Pump begins execution of the script, the word "SCRIPT" will appear in the lower right corner of Data Pump. When Data Pump enters file transfer, a dialog called the File Transfer Status dialog will appear and provide a graphical display of the progress of the file transfers. When the transfers are complete, the dialog will close, the script will end, and the word "SCRIPT" will disappear from the lower right corner. To view a history of the file transfer, click the "Log" tab at the bottom of Data Pump. If you encounter any problems, re-check your settings and modem connection and run the script again.
For more on Phonebook listings, transferring files, and scripting, see Phonebook; Transferring Files and BLASTscript Topics.
| Table of Contents | Intro | Quickstart | Phonebook | DP Viewer | Cmd. Line Ref. | Transferring Files BLAST Protocol | Xmodem | FTP | BLASTscript Topics | Connecting/Disconnecting Command Ref. | Reserved Variables | Autopoll | Error Messages | ASCII Char. Set |