Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

XIMSS Upload

0 views
Skip to first unread message

Cristian Medeiros

unread,
Jan 6, 2010, 1:43:55 PM1/6/10
to
Hey Friends,

Anyone has a sample of uploading files with XIMSS?

Thanks for any help.

Regards,
Cristian


#############################################################
This message is sent to you because you are subscribed to
the mailing list <CGat...@mail.stalker.com>.
To unsubscribe, E-mail to: <CGateP...@mail.stalker.com>
To switch to the DIGEST mode, E-mail to <CGatePr...@mail.stalker.com>
To switch to the INDEX mode, E-mail to <CGatePr...@mail.stalker.com>
Send administrative queries to <CGatePro...@mail.stalker.com>

Nicolas Hatier

unread,
Jan 6, 2010, 2:01:43 PM1/6/10
to

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...@niversoft.com>
Niversoft idées logicielles - http://www.niversoft.com

Cristian Medeiros

unread,
Jan 7, 2010, 7:12:06 AM1/7/10
to
thank you!

#############################################################

0 new messages