Related links
Developer Resources
Status
Verify the existence of a particular file / folder in your IDrive account using the
isFileFolderExists API.
Quick links
Syntax for 'isFileFolderExists' API:
https://<server address>/evs/isFileFolderExists
Server address:
Use getServerAddress API to retrieve the IDrive server address.
HTTP method: POST
- Input parameters:
-
uid |
username or email address |
pwd |
password |
p |
file / folder path name (in your account) |
- Output:
-
Below is a sample XML output generated during this API call:
<?xml version="1.0" encoding="UTF-8"?>
<tree message="SUCCESS">
<item path="/Data/" result="SUCCESS"/>
</tree>
- Description:
-
-
tree
Root node with attributes message.
- message
This attribute describes the operation as SUCCESS or FAIL.
- result
This attribute describes the file/folder exists or not.
- Following cases explain the expected outputs during INVALID operations:
-
- Code snippets for Java, PHP, Python and Ruby:
-
Java:
PHP:
Python:
Ruby: