以编程方式将文件上传到Google云端硬盘 [英] Upload files to Google Drive programmatically

查看:118
本文介绍了以编程方式将文件上传到Google云端硬盘的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的要求是将用户在运行时选择的单个文件上传到Google驱动器.我正在从用户那里获取电子邮件ID和密码.怎么做?如果我从用户那里得到任何其他要求?有可行的解决方案吗?

My requirement is to upload a single file which will be selected by the user during runtime to Google drive. I am getting email id and password from user. How to do it? If i any other requirement get from users? any feasible solution is there?

推荐答案

您可以使用Google云端硬盘SDK/API,如果您仔细阅读文档,这是相当简单的事情,

You can use the Google Drive SDK/API, it's fairly simple stuff if you read through the documentation,

https://developers.google.com/drive/

https://developers.google.com/drive/manage-uploads

有一个.NET API可供下载,尽管它是Beta版,但我使用它没有问题.

There's a .NET API available for download, although it's in beta I've used it without problem.

https://developers.google.com/drive/downloads

这篇关于以编程方式将文件上传到Google云端硬盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆