如何通过Asp.Net在Google云端硬盘上播放文件(.Pdf,.Docs) [英] How Do I Uplaod File ( .Pdf, .Docs ) On Google Drive Through Asp.Net

查看:122
本文介绍了如何通过Asp.Net在Google云端硬盘上播放文件(.Pdf,.Docs)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我正在为学生开发一个网站,可以从中下载各种笔记和教学大纲和问题。我想免费托管这个网站,所以我在somee.com上做。但问题是他们允许我们的空间非常低。因此,我们愿意在谷歌驱动器(大空间)上传我们的文件。



所以我想要关注的东西:



1.如何通过asp.net应用程序上传谷歌驱动器(特别是文件夹)中的文件。

2.如何在asp上提供谷歌驱动器上传文件的链接。网页。



因此,当用户打开我们的网站时,他们将获得直接下载文件的链接。无需去谷歌驱动器。



如果还有其他方法可以执行此任务,除了使用谷歌驱动器,那么请详细说明。



高级中的thanx ...

解决方案

尝试 https://developers.google.com/drive/quickstart-cs http://code.google.com/p/google-api-dotnet-client/

来自 https://developers.google.com/drive/v2/reference/files/insert#examples

Hello,
I am developing a website for students from which various notes and syllabus and questions can be downloaded. I want to do the free hosting of this site so i am doing it on somee.com. But the problem is that the space they are allowing us is very low. So for that we are willing to upload our files on google drive ( big space ).

So i want following things :

1. How to upload the files on google drive ( in particular folder ) through asp.net application.
2. How to give the links of google drive uploaded files on asp.net page.

So that when user opens our site they will get the links to download the files directly. No need to go to the google drive.

And if there is any other way to do this task except the use of google drive then also please elaborate.

thanx in advanced...

解决方案

Try https://developers.google.com/drive/quickstart-cs and http://code.google.com/p/google-api-dotnet-client/
And from https://developers.google.com/drive/v2/reference/files/insert#examples


这篇关于如何通过Asp.Net在Google云端硬盘上播放文件(.Pdf,.Docs)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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