Verify Folder Against File System
Previous Topic  Next Topic 

This action verifies a given folder against the file system. It returns a list of subdirectories and files relative to the given directory.


URL: /stats/pathajax


Example URL: http://host:port/stats/pathajax?dir=C:\path\to\validate


Parameters: 

dir - The folder to validate. Be sure to enclose it in quotes if the path contains spaces.


Result:


Success: jqueryFileTree of specified directory

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


This action verifies a specified folder against the file system and returns a list of subdirectories relative to the given directory.


URL: /stats/filepathajax


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


Parameters: 

dir - The folder to validate. Be sure to enclose it in quotes if the path contains spaces.


Result:


Success: jqueryFileTree of specified directory

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