Chris Coggins <cacogg...@cox.net> asked: > I need to copy a small config file from one server to another. I'm > generating the file on one server with a pretty complex script. I need > to put that file on another server for immediate user access via html. > I've tried just writing the file straight to the new server over the > network using absolute paths but it doesn't work. I'm thinking that I > can accomplish this instead through a perl-generated html page, to have > the script copy the file from its source server and put it locally for > use within the web page. > > What would the code look like to do this?
Let's see if I got this right: You have one server where some file is generated, and another one where said file is to be downloaded from. Is this file personalized for each user, i.e. must arguments be passed from front- to backend? If it's not personalized, can or should the file be cached on the frontend for period of time? If the generation of the file is "complex", can it be produced on demand or do we have to implement some kind of waiting mechanism that keeps the user's browser connected to the frontend while the file is generated? Cheers, Thomas -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/