Manage the Get requests (GetFolders, GetFoldersAndFiles, CreateFolder).
The servlet accepts commands sent in the following format:
connector?Command=CommandName&Type=ResourceType&CurrentFolder=FolderPath
It execute the command and then return the results to the client in XML format.
Manage the Post requests (FileUpload).
The servlet accepts commands sent in the following format:
connector?Command=FileUpload&Type=ResourceType&CurrentFolder=FolderPath
It store the file (renaming it in case a file with the same name exists) and then return an HTML file
with a javascript command in it.