简体   繁体   English

将图片上传到Google App Engine

[英]Upload images to Google App Engine

I am currently hosting the images of my website on Google App Engine. 我目前正在Google App Engine上托管我的网站的图像。 So, an image on my website will have this kind of url: http://my-website.appspot.com/my-image.jpg 因此,我网站上的图片将具有这种网址: http : //my-website.appspot.com/my-image.jpg

I uploaded those images myself, via Google App Engine Laucher. 我自己通过Google App Engine Laucher上传了这些图像。

Is there a way that a user of the website can upload a file automaticly to Google App Engine for C# or javascript? 网站用户是否可以通过自动方式将文件上传到Google App Engine for C#或javascript? Via an API? 通过API?

Thanks, 谢谢,

Vincent 文森特

I would suggest making use of servlet to dynamic upload images to your GAE application. 我建议使用Servlet将图片动态上传到您的GAE应用程序。

See How to upload and store an image with google app engine (java) 请参阅如何使用Google App Engine上传和存储图像(java)

See https://developers.google.com/appengine/kb/java?hl=en#fileforms 请参阅https://developers.google.com/appengine/kb/java?hl=zh_CN#fileforms

Then make use of C# System.Net Library to send the relevant content to the servlet for storage. 然后利用C#System.Net库将相关内容发送到servlet进行存储。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM