[RESTful Web-service Documentation]
go top

get-user-ftp-list

returns a list of FTP files in the account

Parameter

Parameter (*=required)
Possible values
Default value
Description
offset [integer] 0

limit [integer 1-50] 50

process [string, single value]
  • yes
  • no
no
tells the system in the background to process the files

User-Authentication

required 

Endpoint

http://rest.panthermedia.net/get-user-ftp-list

Sample Request

POST http://rest.panthermedia.net/get-user-ftp-list
Accept-Version: 1.0
Content-Type: application/x-www-form-urlencoded
api_key=a5e7b0dada779347e0fdd4db91ad883d0592aaca031e2c81234f3cb8008fdd1f&access_key=9de82c2a78df66e615274eec2622b53795abb2dd&timestamp=Thu%2C%2002%20Aug%202012%2005%3A54%3A55%20UTC&nonce=123&algo=sha1&auth_token=c0c0b98897b5f72b965990b50adec67264a6f07b9134173e9ac60e6b73fe0474&access_token=da857e7ff0013b003185aee5cd41178bead62e46&offset=0&limit=5

Sample Answer - default

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rsp stat="ok">
    <token>c0c0b98897b5f72b965990b50adec67264a6f07b9134173e9ac60e6b73fe0474</token>
<ftp>
<filename><![CDATA[C360_2012-09-27-17-35-48.jpg]]></filename>
<filename><![CDATA[C360_2012-09-27-17-36-10.jpg]]></filename>
<filename><![CDATA[C360_2012-09-27-17-36-37.jpg]]></filename>
<filename><![CDATA[C360_2012-09-27-17-37-49.jpg]]></filename>
<filename><![CDATA[C360_2012-09-27-17-37-49.jpg]]></filename>
</ftp>
</rsp>

Sample Answer - process

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rsp stat="ok">
    <token>c0c0b98897b5f72b965990b50adec67264a6f07b9134173e9ac60e6b73fe0474</token>
<queue>
<filename stat="fail" error="max. allowed upload size exceed - 1 (40M)"><![CDATA[C360_2012-09-27-17-35-48.jpg]]></filename>
<filename stat="ok"><![CDATA[C360_2012-09-27-17-36-10.jpg]]></filename>
<filename stat="ok"><![CDATA[C360_2012-09-27-17-36-37.jpg]]></filename>
<filename stat="ok"><![CDATA[C360_2012-09-27-17-37-49.jpg]]></filename>
<filename stat="ok"><![CDATA[C360_2012-09-27-17-37-49.jpg]]></filename>
</queue>
</rsp>