Text files from web servers--Say it ain't so!
Devin Asay
devin_asay at byu.edu
Thu Jan 5 18:31:15 EST 2006
I've spent the better part of two days coding a utility designed to
pull log files (plain ascii text) off a web server, then parse the
contents for a report. After initially testing the concept with local
files, today I realized that when you use the 'get URL "http://
myserver.com/myfile.log"' form it STRIPS ALL RETURNS out of the file!
I must have known this before, but it slipped my deteriorating mind.
Before I recode my utility, can someone tell me, is it possible to
pull a text file off a web server using the http protocol and retain
the return characters?
The whole point is I want users to be able to grab this report data
off the server without having to worry about logging in,
authenticating, etc.
Devin
Devin Asay
Humanities Technology and Research Support Center
Brigham Young University
More information about the use-livecode
mailing list