on 09-25-2008 3:58 PM
Hi,
I have a fileupload button. The attributes type is XSTRING, which i bound it with "data" property of download.
When i download this file with "download" element, it comes in a zip file and as XML files. Only the jpg files are downloaded correctly.
How can i solve this?
Thanks.
Are you setting the MIME type property correctly? What kind of content are you trying to download?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is solved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am so sory for my very late answer.
If you want to upload/download files, you should have a node which includes attributes
(attribute names are just example 😞
1) filename(type: for example afilename),
2)mimetype (type : string),
3) file(type : a data element with type 'RAWSTRING').
You must match your fileupload element's attributes with them:
"DATA" attribute --> file ,
"fileNAME" attribute--> filename,
"mimeTYPE" attritube -->mimetype.
When you want to download this file, you should put a filedownload element and match this element's attributes with the node's attributes which i described above.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.