Mailing List CGatePro@mail.stalker.com Message #99121
From: Nicolas Hatier <nicolas.hatier@niversoft.com>
Subject: Re: XIMSS Upload
Date: Wed, 06 Jan 2010 14:01:43 -0500
To: CommuniGate Pro Discussions <CGatePro@mail.stalker.com>

Hello.

You don't upload files using the XIMSS protocol, but using plain HTTP POST.

You can do AJAX post or use a form such as
<form action="/Session/<ximms_session_id>/UPLOAD/<uploadID>" method=POST  enctype="multipart/form-data">
 <input name="fileData" type="file">
</form>

You can then use the uploaded file using XIMSS by referencing the uploadID, for instance attaching it to a sent email:
[...]<MIME uploadID="att01" />
[...]
or storing it in the file storage
<fileStore fileName="myFile.pdf" uploadID="att01"/>

Nicolas

On 2010-01-06 13:43, Cristian Medeiros wrote:
Hey Friends,

Anyone has a sample of uploading files with XIMSS?

Thanks for any help.

Regards,
Cristian


  

--

Nicolas Hatier, ing. <nicolas.hatier@niversoft.com>
Niversoft idées logicielles - http://www.niversoft.com

Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster