Skip to Content

File Upload/Download Problem


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?


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Sep 25, 2008 at 03:09 PM

    Are you setting the MIME type property correctly? What kind of content are you trying to download?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 27, 2008 at 11:44 AM

    It is solved.

    Add a comment
    10|10000 characters needed characters exceeded

    • 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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.