Running Betsie from the Command Line
Brought to you by:
george_auckland,
waynem
I have installed Betsie on an IIS system and it is running flawlessly from the browser. I've been
trying to run it from the command line and can't figure our why I can't get it to work.
I want to be able to call Betsie from the command line and save the newly created text page to a
file.
This is the command line I've been using (plus many, many, many variations of it):
perl /webfiles/wwwroot/cgi-bin/parser.pl /webfiles/wwwroot/ociowebtest/allinone.htm
It keeps coming back saying it was unable to find the page at http://...
Thanks for the help!!
Logged In: YES
user_id=169665
Um... to get this to work you'd have to give a fake setting
to PATH_INFO or to HTTP_REFERER, possibly with a simple
wrapper script. Otherwise there's no way for Betsie to get
the correct input. Doing it that way, though, should work
fine.
Logged In: NO
On linux (and i'm sure many other *nix flavors) there is a
command called wget. Basically it goes to the url you
specify and downloads what is there to your machine... So if
you have access to a *nix box, you might try:
wget
http://path/to/betsie/parser.pl/www.anywhere.com/page.html
-O what.to.call.page.html
this should work to save the page to your local machine.