Transferring Files
The laptop must have an FTP client software package
installed on it. There are several FTP packages avail-
able. A default Windows installation includes an FTP
client called ftp.exe. To help make the ftp.exe utility
easier to use, follow the instructions below to create a
batch file to automate ftp.exe to do the necessary FTP
commands for you.
1. Create the two following text files:
getlogs.bat:
ftp –s:logs.txt %1
logs.txt:
pfloftp
pfloftp
prompt
ascii
mget *.log
bye
NOTE: Be sure to enter the text exactly as shown
above. A single typo will cause the operation, below, to
fail.
2. Create a directory to use for file transfer. For the
purposes of this example, this directory is called
c:\graco.
3. Move the getlogs.bat and logs.txt files created
above into the file transfer directory.
4. Open a DOS window and change working directo-
ries to c:\graco. At the command prompt, run the
batch file:
c:\getlogs 192.111.223.110<Enter>
The .bat file will invoke the FTP utility, pass the IP
address entered on the command line to it, and exe-
cute the commands listed in the logs.txt file. The
commands will instruct the FTP utility to fetch a copy
of all the alarm and data logs from the PrecisionFlo XL
and put them in the current directory on the laptop.
The commands in logs.txt will fetch a copy of the log
files from the PrecisionFlo XL. The original files will still
reside on the PrecisionFlo XL and will not be deleted.
Ethernet and FTP
309374
149