Validate File or Folder Against File System
Previous Topic  Next Topic 

Verifies a folder or file against the file system. Note that isfolder=true is optional when verifying a folder's path. To verify a file instead of a folder, you must include isfolder=false as a parameter.

URL: /inbuilt/validatepathajax

Example URL: http://host:port/inbuilt/validatepathajax?path=C:\path\to\validate.txt&isfolder=false


path - The path to validate. This must be in quotes if the path contains quotes.

isfolder - This setting is set to true or false. It is required if false, otherwise it is optional.



Success: "{'resultType':'success', message:''}"

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