Is it possible to upload a droplet?


Juan Antonio Breña Moral <bren at juanantonio.info...>
 

Hi,

I am downloading a droplet and I would like to know if it is possible to upload a droplet once you have downloaded in a host:
http://apidocs.cloudfoundry.org/226/apps/downloads_the_staged_droplet_for_an_app.html

in order to upload to another host and later restage.

Many thanks in advance.

Merry Christmas

Juan Antonio


Dieu Cao <dcao@...>
 

Hi,

It's not currently possible to directly upload a droplet once you have
downloaded a droplet.
You could hack your way to this by downloading a droplet and uploading it
with the binary buildpack if you specify the start command and also account
for recreating sym links that may be missed on upload.

This is something that we may take a look at supporting in the future, but
is not currently prioritized.

-Dieu
CF CAPI PM


On Thu, Dec 24, 2015 at 11:29 AM, Juan Antonio Breña Moral <
bren(a)juanantonio.info> wrote:

Hi,

I am downloading a droplet and I would like to know if it is possible to
upload a droplet once you have downloaded in a host:

http://apidocs.cloudfoundry.org/226/apps/downloads_the_staged_droplet_for_an_app.html

in order to upload to another host and later restage.

Many thanks in advance.

Merry Christmas

Juan Antonio


Juan Antonio Breña Moral <bren at juanantonio.info...>
 

Hi, the way to store a Droplet is the same than when you download the source code?
Is it the same flag?

--output myapp.zip


Dieu Cao <dcao@...>
 

Yes, you can use cf curl with the --output parameter to download a droplet.

-Dieu
CF CAPI PM

On Tue, Jan 5, 2016 at 7:07 AM, Juan Antonio Breña Moral <
bren(a)juanantonio.info> wrote:

Hi, the way to store a Droplet is the same than when you download the
source code?
Is it the same flag?

--output myapp.zip