upload file via Soap

Have a great idea for extending Zimbra? Share ideas, ask questions, contribute, and get feedback.
CristinaB
Posts: 3
Joined: Fri Sep 12, 2014 11:29 pm

upload file via Soap

Postby CristinaB » Mon May 19, 2008 9:07 am

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.


BallaK
Posts: 4
Joined: Fri Sep 12, 2014 11:27 pm

upload file via Soap

Postby BallaK » Mon May 19, 2008 9:13 am

I need it too, please help. How to use the FileUploadServlet. An example would be perfect.
dkarp
Elite member
Elite member
Posts: 1410
Joined: Fri Sep 12, 2014 9:52 pm

upload file via Soap

Postby dkarp » Mon May 19, 2008 7:08 pm

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.
CristinaB
Posts: 3
Joined: Fri Sep 12, 2014 11:29 pm

upload file via Soap

Postby CristinaB » Tue May 20, 2008 3:59 am

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).
BallaK
Posts: 4
Joined: Fri Sep 12, 2014 11:27 pm

upload file via Soap

Postby BallaK » Tue May 20, 2008 6:01 am

We managed to do the upload part.

Any suggestions from where to start in order to download ?
manawa
Posts: 5
Joined: Mon Feb 15, 2016 7:02 am

Re: upload file via Soap

Postby manawa » Wed Aug 03, 2016 12:01 pm

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

Return to “Developers”

Who is online

Users browsing this forum: No registered users and 2 guests