You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@whirr.apache.org by David Alves <da...@gmail.com> on 2011/10/14 06:57:56 UTC

How to upload a files from nodes

Hi All

	I need to upload a tar file from each node to a container in a blobstore in the beforeDestroy() call, preferably in a provider agnostic fashion.
	Is there an equivalent to SaveHttpReponseTo but for uploading?

Cheers
-david


	

Re: How to upload a files from nodes

Posted by Andrei Savu <sa...@gmail.com>.
I've just noticed that you've opened an issue for beforeDestroy.

I'm not aware of any jclouds Statement that can upload a remote file to a
blobstop. Adrian?

-- Andrei Savu

On Fri, Oct 14, 2011 at 9:36 AM, Andrei Savu <sa...@gmail.com> wrote:

> David
>
> I'm not sure if the after/beforeDestroy methods are called at all when a
> cluster is destroyed.
>
> I think we need to fix that.
>
> -- Andrei
>
>
> On Fri, Oct 14, 2011 at 5:57 AM, David Alves <da...@gmail.com>wrote:
>
>> Hi All
>>
>>        I need to upload a tar file from each node to a container in a
>> blobstore in the beforeDestroy() call, preferably in a provider agnostic
>> fashion.
>>        Is there an equivalent to SaveHttpReponseTo but for uploading?
>>
>> Cheers
>> -david
>>
>>
>>
>
>
>

Re: How to upload a files from nodes

Posted by Andrei Savu <sa...@gmail.com>.
David

I'm not sure if the after/beforeDestroy methods are called at all when a
cluster is destroyed.

I think we need to fix that.

-- Andrei

On Fri, Oct 14, 2011 at 5:57 AM, David Alves <da...@gmail.com> wrote:

> Hi All
>
>        I need to upload a tar file from each node to a container in a
> blobstore in the beforeDestroy() call, preferably in a provider agnostic
> fashion.
>        Is there an equivalent to SaveHttpReponseTo but for uploading?
>
> Cheers
> -david
>
>
>