This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require "net/https" | |
| require 'uri' | |
| uri = URI.parse("<IDRIVESYNC SERVER LOCATION>") | |
| http = Net::HTTP.new(uri.host, uri.port) | |
| http.use_ssl = true | |
| http.verify_mode = OpenSSL::SSL::VERIFY_NONE | |
| request = Net::HTTP::Post.new("/evs/downloadEvent") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import urllib, urllib2 | |
| url = '<IDRIVESYNC SERVER LOCATION>/evs/downloadEvent' | |
| params = urllib.urlencode({ | |
| 'uid': <USER ID>, | |
| 'pwd': <PASSWORD>, | |
| 'month' : <MONTH OF EVENT>, | |
| 'year': <YEAR OF EVENT>, | |
| 'eventid': <ID OF EVENT> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| curl_setopt($ch, CURLOPT_URL, '<IDRIVESYNC SERVER LOCATION>/evs/downloadEvent'); | |
| curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); | |
| curl_setopt($ch, CURLOPT_POST, true); | |
| $body = 'uid=' . '<USER ID>'. '&pwd=' . '<PASSWORD>'. '&month=' . '<MONTH OF EVENTS>'. '&year=' . '<YEAR OF EVENTS>'. '&eventid=' . '<ID OF EVENT>'; | |
| curl_setopt($ch, CURLOPT_POSTFIELDS, $body); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| String params="uid="+user+"&pwd="+pass+"&month="+month+"&year="+year+"&eventid="+eventid; | |
| URL evsURL = new URL("https://<server address>/evs/downloadEvent"); | |
| HttpURLConnection con = (HttpURLConnection) evsURL.openConnection(); | |
| con.setRequestMethod("POST"); | |
| con.setRequestProperty("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require "net/https" | |
| require 'uri' | |
| uri = URI.parse("<IDRIVE SERVER LOCATION>") | |
| http = Net::HTTP.new(uri.host, uri.port) | |
| http.use_ssl = true | |
| http.verify_mode = OpenSSL::SSL::VERIFY_NONE | |
| request = Net::HTTP::Post.new("/evs/downloadEvent") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| String params="uid="+user+"&pwd="+pass+"&month="+month+"&year="+year+"&eventid="+eventid; | |
| URL evsURL = new URL("https://<server address>/evs/downloadEvent"); | |
| HttpURLConnection con = (HttpURLConnection) evsURL.openConnection(); | |
| con.setRequestMethod("POST"); | |
| con.setRequestProperty("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| String params="uid="+user+"&pwd="+pass; | |
| URL evsURL = new URL("https://evs.idrive.com/evs/getServerAddress"); | |
| HttpURLConnection con = (HttpURLConnection)evsURL.openConnection(); | |
| con.setRequestMethod("POST"); | |
| con.setRequestProperty("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| String params="uid="+user+"&pwd="+pass+"&path="+path; | |
| URL evsURL = new URL("https://<server address>/evs/browseFolder"); | |
| HttpURLConnection con = (HttpURLConnection)evsURL.openConnection(); | |
| con.setRequestMethod("POST"); | |
| con.setRequestProperty("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require "net/https" | |
| require 'uri' | |
| uri = URI.parse("<SERVER LOCATION>") | |
| http = Net::HTTP.new(uri.host, uri.port) | |
| http.use_ssl = true | |
| http.verify_mode = OpenSSL::SSL::VERIFY_NONE | |
| request = Net::HTTP::Post.new("/evs/getFolderDetails") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import urllib, urllib2 | |
| url = '<SERVER LOCATION>/evs/getFolderDetails' | |
| params = urllib.urlencode({ | |
| 'uid': <USER ID>, | |
| 'pwd': <USER PASSWORD>, | |
| 'p': <PATH ON SERVER> | |
| }) | |
| result = urllib.urlopen(url, params).read() |
NewerOlder