My users must download OpenOffice files which are binary files.
In the upload_model.xml file you have the line
<fd:upload id="upload" mime-types="application/vnd.sun.xml.impress" required="true">
You could put there a list of types you want, like
mime-types="image/jpeg"
But, for saving the file, I'm searching for the solution. I don't know really what is the type of the object obtained in var stream = uploadWidget.getValue().getInputStream(); And then I don't know what I can do to save my binary file.
I hope I've helped and I hope some help
Jean-Claude
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
