Re: please help me..
Brandon Long <[email protected]> Tue, 12 Aug 2008 13:53:01 -0700
| Newsgroups | gmane.text.clearsilver.general |
|---|---|
| Organization | Fiction L Networks |
| Message-ID | <20080812205301.GB14346@bl1> |
Hmm, second request for file upload help in as many days.
You can see my previous response here:
http://tech.groups.yahoo.com/group/ClearSilver/message/1201
File download is just like via any CGI, you probably want to do all of
the output yourself (ie, first print out the headers, probably
Content-Type and Content-Length, then an extra newline, then the file
contents). You can use stdio (ie, fwrite/printf) or use the wrappers
(especially if you're using FCGI, you'll need to use the wrappers),
which are defined in cgi/cgiwrap.h, cgiwrap_writef() and
cgiwrap_write().
Brandon
On 08/12/08 Jeevan uttered the following other thing:
> hello everyone.. hope all u r doing great.. i am new to this
> clearsilver.. Now, I am in need of a file upload and a file download..
> I cant find any more help from any other sites.. I have to use
> clearsilver c api's for this upload process.. Can any one help me to
> get a start with some sample codes....
>
> Thanks in advance.
> jeevan
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
--
"... one suspects that a really good Pentagon spokesperson could deny
the very existence of all earthly and cosmic matter, if asked by a
superior to do so, with a straight face ..." -- Today's Suck, 6/11/98
http://www.fiction.net/blong/