Hi,
I think the NovaAsyncApi is deprecated
(http://jclouds.apache.org/reference/javadoc/1.7.x/org/jclouds/openstack/nova/v2_0/package-summary.html).
On 09.01.2015 11:53, Karim wrote:
Hello,
I'm trying to list images available on OpenStack using Jclouds (Version
1.8.1).
When i run the
the object to a file
File file = File.createTempFile(uploadObjectFromFile, .txt);
BufferedOutputStream outputStream = new BufferedOutputStream(new
FileOutputStream(file));
ByteStreams.copy(swiftObject.getPayload().openStream(), outputStream);
Everett
On Dec 22, 2014, at 6:23 AM, Sofiane Soulfly
”);
// Write the object to a file
File file = File.createTempFile(uploadObjectFromFile, .txt);
BufferedOutputStream outputStream = new BufferedOutputStream(new
FileOutputStream(file));
ByteStreams.copy(swiftObject.getPayload().openStream(), outputStream);
Everett
On Dec 22, 2014, at 6:23 AM, Sofiane
it is a BufferedOutputStream.
Generally easier to use the Guava helpers in these situations, e.g.,
Files.asByteSink(File).writeFrom(InputStream), which handles resource
management for you. Also do not forget to close all the InputStream and
OutputStream!
On Tue, Dec 23, 2014 at 12:45:07PM +0100, Sofiane Soulfly
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
I have all the required jars. As I said in Eclipse it's working fine,
the problem comes from the command line.
Am 08.09.2014 22:20, schrieb felipe gutierrez:
I think you are missing some jars.