The developers, with DriveFarm API, are able to create new app and corporate services interacting with secure file server in the cloud.
If you have service for SME and you need storage area, DriveFarm is the perfect service for you!
DriveFarm is a new cloud File Server for business, projected and developed to help small and medium companies in the daily maintenance of their document assets. With DriveFarm they can optimize their company procedures, share projects, contracts and catalogues with their team through:
- a unique repository, always accessible through mobile or web;
- a dedicated app, easing your work through mobility;
- permission control to modifying your documents;
- a control system for a correct use of your company documents.
ADVANCED PROFILING OF YOUR TEAM
Contrary to other file managers, DriveFarm allows the management and personalization of every single employee profile and correlated privileges. For every worker, the company manager or its IT Manager can define:
- storage characteristics and dimensions;
- level of documents sharing with contacts out of the company;
- mobile devices access to file server;
- out of the company access via web.
A RELIABLE AND ALWAYS ACCESSIBLE STORAGE
DriveFarm grants an elevated data security, thanks to its real time replica into datacenters, geographically situated in different locations. DriveFarm is furthermore projected to transfer files through secure connections (HTTPS) and to protect the customers informations through three security levels (infrastructure, apps and human).
FILE SHARE & TRACK with DriveFarm
Every company member can share his/her files and documents with other internal or external colleagues, directly from Web or Mobile App. Compared to other cloud file managers, DriveFarm tracks files sharing and sending activities, respecting privacy rules. The company manager can verify members usage of documents assets and identify any compliant activity.
5. OAuth 2.0
(1) Redirect su Login Page
(2) Response code
Client App
(3) The codice is passed to the Server
(4) getToken(code)
(5) Response is sent
access_token
(6) API method are colled
by access_token
(7) Response is sent in
JSON format
Server App
6. List the contents of the root folder
Java Python
String result = null; import urllib
String urlStr = "https://www.drivefarm.com/api" + import httplib
"/folderContent?accessToken=ACCESS_TOKEN&path=/"; import json
try { data = {}
URL url = new URL(urlStr); data['accessToken'] = ’ACCESS_TOKEN'
URLConnection conn = url.openConnection(); data['path'] = '/'
BufferedReader rd = new BufferedReader(new
InputStreamReader(conn.getInputStream())); headers = {"Accept": "application/json"}
StringBuffer sb = new StringBuffer(); query = urllib.urlencode(data)
String line;
while ((line = rd.readLine()) != null) { conn = httplib.HTTPSConnection("www.drivefarm.com")
sb.append(line); conn.request("GET", "/api/folderContent?" + query, None, hea
} response = conn.getresponse()
rd.close(); data = response.read()
conn.close()
result = sb.toString();
} for f in json.loads(data)['files']:
catch (Exception e){ print f['path']
// ...
}
System.out.println(result);
/// parsing JSON