King0770-Notes-Bulk Upload To Briefcase

Description: This wiki will hopefully answer the question, "How do upload a bunch of files to a user's briefcase?"

From a remote machine

If you wish to upload files from a remote server to the Zimbra server, you could use curl to upload.

Here's an example of uploading a single file:

curl -u zimbra_user:zimbra_user_password --data-binary "@/mp3/Let it be.mp3" http://zimbra.domain.com/service/home/zimbra_user/Briefcase/Let_it_be.mp3


You'll note I've put double quotes around "@/mp3/Let it be.mp3", because the file name contains spaces. I tried putting double quotes around the Zimbra address with a file that had spaces, but it didn't seem to work for me. The only way to upload was successful, was to put underscores in the filename. Perhaps curl doesn't like file names with spaces.

Jump to: navigation, search