W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2000

need response: HTLoadToFile problem

From: Jim Marshall <jim_marshall2268@hotmail.com>
Date: Mon, 21 Aug 2000 16:15:16 GMT
To: www-lib@w3.org
Message-ID: <F314exdDAO2Rpy9tMTF00004378@hotmail.com>
I sent this last week, but never got any replies.  I really need an answer 
in order to continue using libwww.  I don't believe I can change the file 
extension (.gz) as this is being stipulated by my customer.  I can make an 
argument to change it, but I need to understand why libwww is prompting me 
in the first place.

thanks

--- orginal message ---
I am attempting to use the HTLoadToFile function, it was working fine when I 
was testing with some dummy files on my server.  Now I modified the server 
software to respond with the real file I need to download.  Now when I run 
my program it seems that libwww is prompting me for a location to place the 
file?!?!

Specifically the file I'm downloading is a 'gz' file (whereas when I was 
testing it was a 'zip' file). Here is a snippet of the output I get:

Starting to download http://babylon-5:8081/updates/libSome.so.gz to
/home/jmars/updates/libSome.so.gz
Reading...
Please give name of file to save in: (RETURN for
[/tmp/libSome.so.gz])
/home/jmars/updates/libSome.so.gz
Done!

The "Starting.." line is from my program, which shows the params passed to 
HTLoadToFile, the next few lines are from libwww.
I need this to be an automatic download with no user interaction.

Any thoughts?

-Jim
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Received on Monday, 21 August 2000 12:15:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:37 GMT