Xcap icon
Version 2 (Adrian Georgescu, 01/24/2010 03:41 pm)
1 | 2 | Adrian Georgescu | == xcap-icon == |
---|---|---|---|
2 | 1 | Adrian Georgescu | |
3 | 1 | Adrian Georgescu | [[TOC(SipTesting*, sip_*, xcap*,depth=2)]] |
4 | 1 | Adrian Georgescu | |
5 | 2 | Adrian Georgescu | > This script is available in ''sipclients'' package that must be installed separately from SIP SIMPLe client SDK package. |
6 | 2 | Adrian Georgescu | |
7 | 1 | Adrian Georgescu | === Description === |
8 | 1 | Adrian Georgescu | |
9 | 1 | Adrian Georgescu | {{{ |
10 | 2 | Adrian Georgescu | adigeo@ag-blink:~$xcap-icon -h |
11 | 2 | Adrian Georgescu | Usage: xcap-icon [options] GET|PUT |
12 | 1 | Adrian Georgescu | |
13 | 1 | Adrian Georgescu | This example script will use the specified SIP account to download or upload |
14 | 1 | Adrian Georgescu | the specified icon file via XCAP. |
15 | 1 | Adrian Georgescu | |
16 | 1 | Adrian Georgescu | Options: |
17 | 1 | Adrian Georgescu | -h, --help show this help message and exit |
18 | 1 | Adrian Georgescu | -a ACCOUNT_NAME, --account-name=ACCOUNT_NAME |
19 | 1 | Adrian Georgescu | The name of the account to use. |
20 | 1 | Adrian Georgescu | -i INPUT_FILENAME The name of the file in case we are doing a PUT. |
21 | 1 | Adrian Georgescu | -d, --download Download the icon. |
22 | 1 | Adrian Georgescu | -f OUTPUT_FILENAME, --filename=OUTPUT_FILENAME |
23 | 1 | Adrian Georgescu | Name for storing the downloaded icon. |
24 | 1 | Adrian Georgescu | }}} |
25 | 1 | Adrian Georgescu | |
26 | 1 | Adrian Georgescu | === Example === |
27 | 1 | Adrian Georgescu | |
28 | 1 | Adrian Georgescu | {{{ |
29 | 2 | Adrian Georgescu | adigeo@ag-blink:~$xcap-icon -i /Users/adigeo/Library/Application\ Support/Blink/photos/CIMG4463-small.png PUT |
30 | 1 | Adrian Georgescu | Icon uploaded successfully |
31 | 1 | Adrian Georgescu | 201 Created <http://node03.dns-hosting.info:8443/xcap-root/icon/users/sip:adi@umts.ro/LpBkQq61tmnKfG7zYRX3.png> |
32 | 1 | Adrian Georgescu | content-length: 0 |
33 | 1 | Adrian Georgescu | server: OpenXCAP/1.1.3 |
34 | 1 | Adrian Georgescu | connection: close |
35 | 1 | Adrian Georgescu | etag: "928a046a31c514486078d69937949fbb" |
36 | 1 | Adrian Georgescu | date: Sat, 28 Nov 2009 10:59:42 GMT |
37 | 1 | Adrian Georgescu | content-type: application/icon |
38 | 1 | Adrian Georgescu | }}} |