I am using 1.8.x. I am testing your code now.
On 22.12.2014 18:01, Everett Toews wrote:
What version of jclouds are you using?
Try this…
ObjectApi objectApi = cloudFiles.getObjectApi(REGION, CONTAINER);
SwiftObject swiftObject = objectApi.get(uploadObjectFromFile.txt”);
// Write the
I tried your solution and the problem is that it creates a temp file,
which is empty. My objective is to download the file and its content.
Forwarded Message
Subject:Re: Download file from Swift
Date: Mon, 22 Dec 2014 17:01:34 +
From: Everett Toews everett.to
!
On Tue, Dec 23, 2014 at 12:45:07PM +0100, Sofiane Soulfly wrote:
I tried your solution and the problem is that it creates a temp file,
which is empty. My objective is to download the file and its content.
Forwarded Message
Subject: Re: Download file from Swift
Date
wrote:
I tried your solution and the problem is that it creates a temp file,
which is empty. My objective is to download the file and its content.
Forwarded Message
Subject: Re: Download file from Swift
Date:Mon, 22 Dec 2014 17:01:34 +
From:Everett
Hello everybody,
after I uploaded successfully a text file to Swift, now I want download
that file into my file system.
I tried with ObjectApi.get but nothing was downloaded.
Thank you.
Regards,
SB