Open Xdrive API

deprecated
Open Xdrive
On December 31, 2008, AOL permanently closed the Xdrive Online Storage Service and the Open Xdrive API. See the API Home Page for more details.
Specs
http://aol.com
Storage
Media
JSON
JSON-RPC
No
API Key, Username and password
Followers (6)
Developers (0)

Sorry, no developers found for this API.

API Mashups (0)

Sorry, no mashups for this API.

Source Code
Title Description
Xdrive Data Management Xdrive Data Management
Two part series about building an Xdrive Data Management Toolkit: http://dev.aol.com/article/2007/xdrive_toolkit http://dev.aol.com/article/2007/xdrive_toolkit_part2

Sorry, no resources found for this API.

Developers (0)
Comments (4)

Comments(4)

Login or Register as a New User

You are not currently logged in. In order to post this item please login now or provide the following details to register.

A valid e-mail address. All e-mails from the system will be sent to this address. The e-mail address is not made public and will only be used if you wish to receive a new password or wish to receive certain news or notifications by e-mail.

User HTML

  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
net

You can use simple perl script to upload files to xdrive.
------begin--------
#!/usr/bin/perl

use LWP::UserAgent;
use JSON;
use Data::Dumper;

my $json = JSON-&gt;new(pretty =&gt; 1, delimiter =&gt; 0);
my $ua = LWP::UserAgent-&gt;new;

$numArgs = $#ARGV ;
if ($numArgs &lt; 2) {
print "Usage: &lt;program&gt; username password filenamern";
exit -1;
}

$USER=$ARGV[0];
$PASSWD=$ARGV[1];
$FILENAME=$ARGV[2];

$credentials = {"user" =&gt; {
"type" =&gt; "MemberObject",
"username" =&gt; $USER,
"password" =&gt; $PASSWD
}};

$json_req = $json-&gt;objToJson($credentials);
$url="https://plus.xdrive.com/json/v1.2/member.login?data=$json_req";
$response = $ua-&gt;post($url);
$content = $response-&gt;content;
$obj = $json-&gt;jsonToObj($content);
print Dumper $obj;
$JSESSIONID=$obj-&gt;{jsessionid};
$ROOT_DIR=$obj-&gt;{results}-&gt;{user}-&gt;{rootFolderId};

$req = {
"destFolder" =&gt; {
"type" =&gt; "FileObject",
"id" =&gt; $ROOT_DIR },
};
$json_req = $json-&gt;objToJson($req);

$url = "http://plus.xdrive.com/json/v1.2/io.formupload;jsessionid=$JSESSIONID?data=$json_req";
$response = $ua-&gt;post($url,
'Content_Type' =&gt; "multipart/form-data",
'Content' =&gt; ['file' =&gt; [$FILENAME]],
);
$content = $response-&gt;content;

$obj = $json-&gt;jsonToObj($content);
print Dumper $obj;

----------end---------

Logan

XDrive is shutting down.

jmusser

Thanks for the heads-up Logan. We&#039;ve updated this profile.

jmusser

Thanks for the heads-up Logan. We&#039;ve updated this profile.

Sorry, no mashups for this API.