Hi, a little confused on what you're saying here.
>Thanks for the quick response
>
>No I haven't tried that - not sure how to programmatically, but if I could get the program to >pull the file down I think that would work. What I am trying to accomplish is this.
>I am going to be hosting sites that contain a flat file database.
Ok...
>On each site I want to have a program that reads this database periodically(cron job)
Ok, each site is a different machine and each machine will have a cron job that runs this
program right?
>and deletes a special category.
Do you mean moves a set of records that fit a certain criteria and then rewrites the
flat file?
>I also want the program to open a flat file on another server
Ok, so the same program also contacts another server and gets the flat file there...
>read the contents and print to the original database file.
What is the original database file? Do you mean the flat file that exists on the same
server that the program is running on? Do you want to add the records from the remote flat
file to the local file?
>This way I can update one file and let the program on each site update that sites database when >the program is called by cron. Does this help any?
Is the purpose to keep the flat files on each site the same?
>I have every thing in the program working except getting it to open the read file when it is on >a different server.
Try downloading the Net::FTP module. This will prevent you from having to do any sockets programming. The module has very easy to use FTP functionality. Of course, this means that you're going to have to set up an FTP daemon on each site. Another possibility, is using HTTP to get at the flat files. This, of course, presupposes that the flat files are somewhere in the document root of your web server.
Regards, [sig]<p>Russ<br><a href=mailto:bobbitts@hotmail.com>bobbitts@hotmail.com</a><br><a href=
is in</a><br>[/sig]