Verify Path Against File System
Previous Topic  Next Topic 

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


URL: /fd/pathajax


Example URL: http://host:port/fd/pathajax?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 '}"