[foxboro] ftp script

Foxboro Users,

Before I build one from scratch myself, anyone know where I can "borrow" an 
existing script to automatically ftp files from an AW51 to a plant network 
server.  I am hoping to find an existing core script I can modify to fit our 
specific application (i.e., IP addresses, paths, etc.) and schedule it with 
cron.

What we need is ...

-      An AW resident script to ftp numerous files (RBatch Reports) from an 
AW directory (LBUG = AW51XX) to a server on the Plant Network (ServerName\I 
Drive:\* ).
-      I will schedule the script (via cron) to run at 1:00 AM on the 5th of 
every month.
-      The script will copy all files from the previous month, so it has to 
look at date and time.
-      Just FYI, there will probably be about 600 files each month.
-      Since there are (2) types of file names on the AW (XYZ and ABC RBatch 
Report files), and (2) different directories on the Plant Network side 
(I:\XYZ\* and I:\ABC\*), I may need (2) separate scripts (I will copy and 
edit for the 2nd one); or a way to separate them in a single script before 
the ftp (whatever is easiest).  The naming convention for the files is -
       -     MM0001 through MM000X; where MM = the month (01, 02, 03, etc.).  
000X = number of the sequential report.

I could not find anything in the Cassandra Project e-mail archive.  I would 
greatly appreciate any help in getting started.

Joseph M. Riccardi
www.eRiccardi.com   
(440)-458-4411         Business 
(440)-725-4025         Cell


 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: