HTTPS Automated Connection Guide

HTTPS Automated Connection Guide

List

List

The List command is used to list the contents of a directory on the server.  The target directory can be supplied as a parameter to this command.  If the directory is not supplied, this command will list the contents of the users current working directory.  The contents of the directory are returned as the response body with content type ‘text/plain’.  The format of the directory listing is as follows:
2009-12-03 14:02:19 D 0 backup
The parts are delimited by a tab (\t) character: 
Part 1) The last modified date of the file or directory.  The timestamp is in ISO format yyyy-MM-dd HH:mm:ss.  Note that the hour(hh) is displayed as a 24-hour clock.
Part 2) Indicates file or directory.  The ‘D’ character denotes that it is a directory and ‘F’ stands for file. ‘U’ for unknown/other.
Part 3) The size of the file in bytes.
Part 4) The name of the file or directory.
URL
Request Type
Parameters
/list
GET or POST
dir (optional) – the relative or absolute path of the directory to list.

0 COMMENTS

We’d like to hear from you!