- From: Kallweit, Heiner <Heiner.Kallweit@commerzbank.com>
- Date: Tue, 22 Aug 2000 11:32:41 +0200
- To: "'Jim Marshall'" <jim_marshall2268@hotmail.com>, www-lib@w3.org
Hi Jim, according to the code of HTLoadToFile in HTAccess.c you should only be prompted if the file you want to write already exists. If you don't like this behaviour remove the "if access(...)" part from the function code. Regards, Heiner > -----Ursprüngliche Nachricht----- > Von: Jim Marshall [mailto:jim_marshall2268@hotmail.com] > Gesendet am: Montag, 21. August 2000 18:15 > An: www-lib@w3.org > Betreff: need response: HTLoadToFile problem > > 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 Tuesday, 22 August 2000 05:33:23 UTC