• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

yasirkula/DownloadLinkGeneratorForGoogleDrive: Create list of files and their do ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

yasirkula/DownloadLinkGeneratorForGoogleDrive

开源软件地址(OpenSource Url):

https://github.com/yasirkula/DownloadLinkGeneratorForGoogleDrive

开源编程语言(OpenSource Language):

HTML 67.8%

开源软件介绍(OpenSource Introduction):

Download Link Generator For Google Drive™

This is the source code of Download Link Generator For Drive™ extension: https://gsuite.google.com/marketplace/app/download_link_generator_for_drive/631283629814

It lets users generate a list of their files with their download links in a Google Drive™ folder. Feel free to use this repository as a reference if you are creating your own Google Drive™ extension with similar functionality.

Support the Developer

How does the extension work?

Using the Google Drive API, after user authenticates the extension, a number of queries are made as follows:

  • If user opened a file with this extension, download link of that file is returned
  • If user opened a folder with this extension, download links for all the files in that folder and any folders underneath it (recursive) are returned

Why would I want to use this extension?

Say you have a large number of files on Google Drive™ and you want to get a download link for each of these files. The thing is, you don't want to spend so much time sharing each file one by one and copying their download links manually.

Instead, you can open the Drive™ folder that contains your files with this extension and the extension will generate a list of the download links in the following format (one file per line): {File relative path} {File's download url}

For these download links to work everywhere, it is sufficient to make the folder that contains your files public (to do this, you can right click the folder, select "Get link" and change visibility from "Restricted" to "Anyone with the link").

Be aware that downloading big files using a direct download link will prompt a Drive™ dialog stating that "The file exceeds the maximum size that Google can scan." and the user must click the "Download anyway" button to proceed. In C#, you can skip this step using the following WebClient implementation: https://gist.github.com/yasirkula/d0ec0c07b138748e5feaecbd93b6223c




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap