getfilelist

Get the list of files in the supplied folder

Parameters:
path(POST) folder name
start(POST) [OPTIONAL] Offset of the file, for example, 10 (will start the listing after skipping the first 9 elements.
limit(POST) [OPTIONAL] Number of elements to retrieve. If the number is more than the available, then only the available list will be returned.
filter(POST)[OPTIONAL] Filter the returned list based on type. Filter can be "audio" "pictures" or "usbdrives"
search(POST) [OPTIONAL] Return elements (files or folder) that contain the supplied search string.
Returns:
XML
    <filelistfail></filelistfail>
    or
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
      <entries>            
        <entry>
            <path> file or folder path </path>
                        <dirpath> dirPath </dirpath>
                        <name>file or folder  name </name>
                        <ext> extension </ext>
                        <isroot> rool folder or not (1/0) </isroot>
                        <type> type (dir or file) </type>
                        <fullfilename> fullFileName </fullfilename>
                        <size>   size </size>
                        <modified> modified time</modified>
                        <favoritelistid> favoriteListID </favoritelistid>;
                        <favoriteid> favoriteID </favoriteid>
                        <order> ascending or descending (1 or 0)</order>
                        <fullsize> fullSize</fullsize>;
                        <modifiedepoch> epochModifiedTime </modifiedepoch>
        </entry>
                <entry>
                .
                .
                </entry>
    </entries>

Requirements:


Generated on Wed Oct 12 2011 21:46:52. © CodeLathe LLC 2007-2011. All Rights Reserved.