Verify File Against File System
Previous Topic  Next Topic 

This API call verifies a file against the file system and returns a list of subdirectories and files relative to a directory as an HTML fragment. It is suitable for JqueryFileTree. Compare to /fd/pathajax which returns only directories. Note that the path should be enclosed in quotes if it contains spaces.


URL: /fd/filepathajax


Example URL: http://host:port/fd/filepathajax?dir=C:\path\to\validate


HTTP method: GET


Parameters: 

dir (path to validate)


Result:


Success: jqueryFileTree of specified directory

Failure: "{'resultType':'error', message:' error message here '}"