An HTTP Web Handler file is used to represent the structure and contents of a remote folder. For example, you might use a Web Handler file to fetch contents of a remote repository, such as Dropbox.
When a customer wishes to upload a Document from a remote Document Repository implemented using an HTTP Web Handler, uStore sends a request to the Handler file to fetch the requested folder. When a customer clicks a file, an additional request is sent to fetch the file.
The HTTP Web Handler file expects to receive the following two parameters:
· path: returns the repository path. When you fetch the root folder, the path parameter is empty.
· mode: returns file or list values.
– list: returns folderinfo.xml. This value is used to retrieve the folder contents.
– file: returns file. This value is used to retrieve the actual file.