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)

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->new(pretty => 1, delimiter => 0);
my $ua = LWP::UserAgent->new;

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

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

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

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

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

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

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

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

Logan

XDrive is shutting down.

jmusser

Thanks for the heads-up Logan. We've updated this profile.

jmusser

Thanks for the heads-up Logan. We've updated this profile.

Sorry, no mashups for this API.