Re: upload file
Nikolai Kondrashov <[email protected]> Mon, 14 Jan 2008 19:59:09 +0300
| Newsgroups | gmane.text.clearsilver.general |
|---|---|
| Message-ID | <[email protected]> |
sj29fr wrote: > I have this in my C source code : > char *filename = NULL; > if ((err = hdf_get_copy(cgi->hdf, "Query.firmware.FileName", > &filename, "\0"))) NEOERR_HANDLER; Hmm... that's strange, do you really use "\0"? And why do you always use hdf_get_copy? Do you really need to modify the value copy? > My filename is always "\0". > I don't understand because Query.firmware.FileHandle gives me the good > FILE * on my file. Please try to use hdf_dump_format(cgi->hdf, 0, stderr) in order to dump all of your dataset and try to look for the pathname. > I use ClearSilver 0.10.5. I use ClearSilver 0.10.4. > Did I miss something ? Everything seems OK for me. Sincerely, Nick