(no subject)
guy.2.woodhouse@bt.com
Thu, 22 Jul 1999 11:17:26 +0100
Hi,
I am new to Perl and looking to develop a script which will filter a file
from another website (in this case a dynamic HTML file that holds messages
that are in a queue). The user will fill out a browser form entering the
criteria they want to filter the file on, the script should then go and
store the file from the other web site, filter out the unsed bits and return
a HTML file back to the user in the browser window.
I am using ActivePerl on a Windows'95 server.
I have downloaded the LWP module and installed it and as a brief test used
the following script to see if the file would be saved.
#! c:\perl\bin\perl.exe
use LWP::Simple;
getstore("http://bps-1/xitami/index15.htm", "messages.txt");
"File Saved as - messages.txt";
But when the script is activated from the browser window the program sits
there saying "Transfering data from bps-1..." then after a specific period
returns the message "Document Contains No Data". The file is downloaded and
saved locally but the script never completes.
I would be grateful of any help/suggestions as to what I have done wrong or
a possible better solution (or the whole code would be helpful...).
Thanks
Guy Woodhouse
Guy Woodhouse
IT Consultant
Broadband Provionin System/Multi-service Platform VV&T
British Telecom
Tel: 01473-643568
Mobile: 07970-765109