Steps to create a new document folder in Briefcase and upload files from CLI: Difference between revisions
(Created page with "{{WIP}}{{Article Infobox|{{admin}}|{{ZCS 8.6}}|{{ZCS 8.5}}|{{ZCS 8.0}}}} =Steps to create a new document folder in Briefcase and upload files from CLI= ==Purpose== How to crea...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{BC|Certified}} | ||
__FORCETOC__ | |||
<div class="col-md-12 ibox-content"> | |||
=Steps to create a new document folder in Briefcase and upload files from CLI= | =Steps to create a new document folder in Briefcase and upload files from CLI= | ||
{{KB|{{ZC}}|{{ZCS 8.6}}|{{ZCS 8.5}}|{{ZCS 8.0}}}} | |||
{{WIP}} | |||
==Purpose== | ==Purpose== | ||
How to create a folder in user's Briefcase and upload pdf,execl,doc and other files on that folder. | How to create a folder in user's Briefcase and upload pdf,execl,doc and other files on that folder. |
Latest revision as of 09:58, 13 July 2015
Steps to create a new document folder in Briefcase and upload files from CLI
- This article is a Work in Progress, and may be unfinished or missing sections.
Purpose
How to create a folder in user's Briefcase and upload pdf,execl,doc and other files on that folder.
Resolution
- Create a new document folder "NewDocs" in user's Briefcase:-
zmmailbox -z -m USER@DOMAIN.COM cf --view document /NewDocs
- Upload files on Briefcase folder from local filesystem:-
zmmailbox -z -m USERNAME@YOURDOMAIN.COM postRestURL /NewDocs/"FILENAME" /<LOCAL-PATH-OF-FILE>/"FILENAME"
Above command will used to upload files in Briefcase, but it will not give you document preview in webclient. To show document preview in webclient you have to define "--contentType" with postRestURL during document upload command.
Example
- A .doc file:
zmmailbox -z -m USERNAME@YOURDOMAIN.COM postRestURL --contentType application/msword /NewDocs/"FILENAME.doc" /tmp/"FILENAME.doc"
- A .pdf file:
zmmailbox -z -m USERNAME@YOURDOMAIN.COM postRestURL --contentType application/pdf /NewDocs/"FILENAME.pdf" /tmp/"FILENAME.pdf"
- A .xls file:
zmmailbox -z -m USERNAME@YOURDOMAIN.COM postRestURL --contentType application/excel /NewDocs/"FILENAME.xls" /tmp/"FILENAME.xls"
Additional Content
- You can see a complete SOAP information in the next Wiki article.