« Previous - Version 2/3 (diff) - Next » - Current version
Adrian Georgescu, 01/24/2010 03:41 pm


xcap-icon

<acronym title="SipTesting*, sip_*, xcap*,depth=2">TOC</acronym>

This script is available in ''sipclients'' package that must be installed separately from SIP SIMPLe client SDK package.

=== 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
}}}