Xcap icon » History » Revision 1
Revision 1/3
| Next »
Adrian Georgescu, 11/28/2009 11:59 AM
<abbr title="SipTesting*, sip_*, xcap*,depth=2">TOC</abbr>
=== Description ===
{{{
adigeo@ag-blink:~$xcap_icon -h
Usage: xcap_icon [options] GET|PUT
This example script will use the specified SIP account to download or upload
the specified icon file via XCAP.
Options:
-h, --help show this help message and exit
-a ACCOUNT_NAME, --account-name=ACCOUNT_NAME
The name of the account to use.
-i INPUT_FILENAME The name of the file in case we are doing a PUT.
-d, --download Download the icon.
-f OUTPUT_FILENAME, --filename=OUTPUT_FILENAME
Name for storing the downloaded icon.
}}}
=== Example ===
{{{
adigeo@ag-blink:~$xcap_icon -i /Users/adigeo/Library/Application\ Support/Blink/photos/CIMG4463-small.png PUT
Icon uploaded successfully
201 Created <http://node03.dns-hosting.info:8443/xcap-root/icon/users/sip:adi@umts.ro/LpBkQq61tmnKfG7zYRX3.png>
content-length: 0
server: OpenXCAP/1.1.3
connection: close
etag: "928a046a31c514486078d69937949fbb"
date: Sat, 28 Nov 2009 10:59:42 GMT
content-type: application/icon
}}}
Updated by Adrian Georgescu about 15 years ago · 1 revisions