Re: upload file

"sj29fr" <[email protected]>
Newsgroups gmane.text.clearsilver.general
Message-ID <[email protected]>
> Yes, I'm mistaken, it should be FileName.
> I've confused it trying to lookup solution in my code, sorry.

I added this line in my hdf file :
Config.Upload.Unlink = 0

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;

My filename is always "\0". 
I don't understand because Query.firmware.FileHandle gives me the good
FILE * on my file.

I use ClearSilver 0.10.5.
Did I miss something ?

Regards,
Sebastien
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.