Quantcast
Channel: Zimbra Forums
Viewing all articles
Browse latest Browse all 1008

Administrators • Re: Document Preview in Briefcase Broken for CLI Uploaded Files

$
0
0
Never one to give up... yet.

This issue is still outstanding and I think I've found a work around. The jist of it is to export the contents of a particular briefcase that has had it's files uploaded via the Web UI (and so has the proper file attributes associated with each file) then import that into the user mailboxes where you want those files.... the files show up as expected and can be used in signatures again.

1.) Create a new mailbox then upload the files you want to distribute to it's Briefcase
2.) Export the Briefcase folder

Code:

zmmailbox -z -m isitthattime@already.organel gru "//?fmt=tgz&query=in:"briefcase"" >> /tmp/isitthattime@already.organel.tgz 
3.) Import the exported archive into the Briefcase folder of the accounts that need these files (scripting for mass updates is preferred):

Code:

zmmailbox -z -m tester@already.organel postRestURL "/Briefcase/?fmt=tgz" /tmp/isitthattime@already.organel.tgz
This doesn't reset the users Briefcase contents, it just adds what is in the exported Briefcase. And now you can resume using a script to deploy signatures with images, or I can at least... I hope I'm not alone (and no, linking an image from a webserver doesn't do it for me).

Statistics: Posted by PaperAdvocate — Sat Dec 14, 2024 8:17 am



Viewing all articles
Browse latest Browse all 1008

Trending Articles