views:

66

answers:

2

I have to change some contents in a html or text file. Or I have to upload an image. I have to re-deploy my application on GAE. Is there any way that I can upload such static files to the desire location from my hard disk?

Please thanks for your help.

+1  A: 

Changing the static data you're serving requires a redeploy, always. Note that App Engine only uploads the modified files, though, not everything.

If you wish, you can serve 'static' files from the datastore, though.

Nick Johnson
A: 

No. You will have to redeploy your app in order to upload/update a static file.

But, one can easily find themselves in a scenario where you may wish to update a static file without redeploying. For e.g. suppose I changed some code in some java classes and the changes are still incomplete. Meanwhile, if I wish to change some css style or upload an image, i'll have to wait till the java classes are ready.

One workaround is that you can deploy your app(provided there are no compilation error) to a new major version. Since the static files are shared across all versions, you can see the changes appear in other versions too.

Gaurav