Getting started

Create an IDrive account and start managing your data in the IDrive EVS cloud using Command line utility, REST APIs or the EVS library.


Command Line Utility are simple APIs for uploading, retrieving and managing data. Develop highly scalable, reliable and fast applications to manage your storage on IDrive EVS. It is also ideal for scripts and to execute jobs from cron, etc.



Get Started

API examples provided below will help you start building your applications with IDrive EVS.
Download
To start develop your apps, visit our download center to download the Command Line Utility APIs.

Get your server address
Code:
idevsutil --getServerAddress john --password-file="MyPassword"
It is important to note that the IDrive server address is dynamic and may change over a period of time as physically the data may get moved to another server. So depending on your application needs, you may need to call this API periodically to get the current IDrive server address applicable for the user.

For more details click on the Get server address API

Set Encryption for your account
Use the Configure Account API to configure your account with a Private or Default encryption.

Start uploading files / folders to your account with simple steps:
To begin with, open a notepad, write the file / folder paths you wish to upload and save it.
Example:
'filelist.txt' content
  • /C/DATA/Editors choice.rtf
  • /C/DATA/office_inventory.doc
  • /C/DATA/tax_details.xls
  • /C/DOC/daily_status.doc
  • /C/DOC/Features.xls
  • /C/DOC/inventory/
  • /C/DOC/Monthly Statement/

Let’s upload files / folders ('filelist.txt' content) to your IDrive account
Code:
idevsutil --xml-output --password-file="MyPassword" --pvt-key=enc_key --files-from=filelist.txt / john@<server address>::home/
For more details click on the Upload API

Next, we’ll create a new folder (Ex: 'Office-Data')
Code:
idevsutil --xml-output --password-file="MyPassword" --create-dir='Office-Data' --pvt-key=enc_key john@<server address>::home/
For more details click on the Create Folder API

Now that the folder is available, copy a file(s) to it
Code:
idevsutil --xml-output --password-file="MyPassword" --copy-within --pvt-key=enc_key --files-from=filelist.txt john@<server address>::home/Office-Data/
For more details click on the Copy and paste API

Let us try to find the location of the moved file
Code:
idevsutil --xml-output --password-file="MyPassword" --search john@<server address>::home/Office-Data/*.doc
For more details click on the Search API

If the moved file(s) is no longer required, Trash it
Code:
idevsutil --xml-output --password-file="MyPassword" --delete-items --pvt-key=enc_key --files-from=filelist.txt john@<server address>::home/Office-Data/
For more details click on the Delete API

Possible to bring my file(s) back from Trash? Yes.
Code:
idevsutil --xml-output --password-file="MyPassword" --pvt-key=enc_key --moveto-original --files-from=filelist.txt john@<server address>::home/Office-Data/
For more details click on the Trash API

Now, lets list the contents of your IDrive account
Code:
idevsutil --xml-output --password-file="MyPassword" --auth-list john@<server address>::home/
For more details click on the Listing API

View the list of events performed in your account.
Code:
idevsutil --xml-output --password-file="MyPassword" --event-month=<MM> --event-year=<YYYY> john@<serveraddress>::home/
For more details click on the Events API

Click here for more information on Command line utility

REST APIs allow you to upload, retrieve and manage data at any time, from anywhere on the web. Easily build applications (web, mobile and system applications) and manage your storage on IDrive EVS.



Get Started

API examples provided below will help you start building your applications with IDrive EVS.
Get your server address
API Call
https://evs.idrive.com/evs/getServerAddress
Method
POST
Parameters
uid=john&pwd=MyPassword
It is important to note that the IDrive server address is dynamic and may change over a period of time as physically the data may get moved to another server. So depending on your application needs, you may need to call this API periodically to get the current IDrive server address applicable for the user.

For more details click on the Get server address API

Set Encryption for your account
Use the Configure Account API to configure your account with a Private or Default encryption.

Upload local file(s) to your IDrive account
API Call
https://<server address>/evs/uploadFile
Method
POST
Parameters
uid=john&pwd=MyPassword&pvtkey=enc_key&p=/Data/&myfiles=important.doc
enctype
multipart/form-data
For more details click on the Upload API

Create a new folder
API Call
https://<server address>/evs/createFolder
Method
POST
Parameters
uid=john&pwd=MyPassword&pvtkey=enc_key&p=/&foldername=Office-Data
For more details click on the Create Folder API

Copy a file(s) into the newly created folder
API Call
https://<server address>/evs/copyPasteFileFolder
Method
POST
Parameters
uid=john&pwd=MyPassword&pvtkey=enc_key&p=/Office-Data/&fileFolderPaths=/Data/important.doc
For more details click on the Copy and paste API

Locate the moved file
API Call
https://<server address>/evs/searchFiles
Method
POST
Parameters
uid=john&pwd=MyPassword&p=/Office-Data/*.doc
For more details click on the Search API

Trash the moved file (s)
API Call
https://<server address>/evs/deleteFile
Method
POST
Parameters
uid=john&pwd=MyPassword&pvtkey=enc_key&p=/Office-Data/important.doc
For more details click on the Delete API

Restore the deleted file from Trash
API Call
https://<server address>/evs/putBackFromTrash
Method
POST
Parameters
uid=john&pwd=MyPassword&pvtkey=enc_key&p=/Office-Data/important.doc
For more details click on the Trash API

List the contents of your IDrive account
API Call
https://<server address>/evs/browseFolder
Method
POST
Parameters
uid=john&pwd=MyPassword&p=/
For more details click on the Listing API

View the list of events performed in your account.
API Call
https://<server address>/evs/getEvents
Method
POST
Parameters
uid=john&pwd=MyPassword&month=<MM>&year=<YY>
For more details click on the Events API

Click here for more information on REST APIs
Support
For further queries, mail to support@idrive.com or call us at 1-866-748-0555