W3C home > Mailing lists > Public > www-lib@w3.org > April to June 1996

Saving to a file

From: James Gallagher <jimg@dcz.cvo.oneworld.com>
Date: Thu, 16 May 96 13:39:27 PDT
Message-Id: <9605162039.AA01375@dcz.cvo.oneworld.com>
To: www-lib@w3.org
In trying to debug my code I went back to the third example in the Getting
Started section of the manual. I tried modifying the example so that it would
save the data coming from the network into a stream that I setup using
`HTRequest_setOutputStream(request, HTFWriter_new(request, s, YES));'.
However, the call to HTLoadAbsolute() still prompts for a filename and saves
the data there instead of my FILE *s.

Is this because the only converter is HTSaveLocally? If HTSaveLocally always
prompts for a filename, then where would I look to find a converter that will
use a stream I setup?

I realize these may be really basic questions, but any help would be
appreciated. 

-- 
__________________________________________________________________________

James Gallagher		         The Distributed Oceanographic Data System
jgallagher@gso.uri.edu                            http://dods.gso.uri.edu/
Received on Thursday, 16 May 1996 16:39:35 GMT

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