Page 1 of 1

upload file via Soap

Posted: Mon May 19, 2008 9:07 am
by CristinaB
Hi,
Could you, please, tell me how to compose the Soap message for uploading/downloading a file to Zimbra?

I have seen something about FileUploadServlet, but I don't know how to use it..

Help me, please.. :rolleyes:
Thank you,

Cris.

upload file via Soap

Posted: Mon May 19, 2008 9:13 am
by BallaK
I need it too, please help. How to use the FileUploadServlet. An example would be perfect.

upload file via Soap

Posted: Mon May 19, 2008 7:08 pm
by dkarp
Please look at ZimbraServer/docs/file-upload.txt in the source distribution and let us know if that's not good enough.
You can also do a GET or PUT to the REST interface to fetch or add a file.

upload file via Soap

Posted: Tue May 20, 2008 3:59 am
by CristinaB
OK. Thank you for your response. After a few tests we got an example running, but another problem appeared : the response doesn't seem to be correct. Here it is :






And the SAVE_DOCUMENT_REQUEST replies Cannot create (SoapFaultException).

upload file via Soap

Posted: Tue May 20, 2008 6:01 am
by BallaK
We managed to do the upload part.

Any suggestions from where to start in order to download ?

Re: upload file via Soap

Posted: Wed Aug 03, 2016 12:01 pm
by manawa
dkarp wrote:Please look at ZimbraServer/docs/file-upload.txt in the source distribution and let us know if that's not good enough.



Yes, please, an example of how to get the AID would be very very helpful !
The "file-upload.txt" doesn't mention the ID of the uploaded file being returned.
And the SOAP API requires this ID to send a message with attachment.

Thanks