简体   繁体   English

将文件数据直接从 Dropbox 流式传输到网页

[英]To stream file data directly from Dropbox to webpage

我想将数据从我的 Dropbox 实时流式传输到网页,但不知道该怎么做。

It's usually a bad idea because Dropbox can throttle speed, stop sharing file when using from many locations.这通常是一个坏主意,因为 Dropbox 可以限制速度,在从多个位置使用时停止共享文件。

You can install Dropbox to your server and sync some folder with your Dropbox:您可以将 Dropbox 安装到您的服务器并与您的 Dropbox 同步一些文件夹:
https://www.dropbox.com/install https://www.dropbox.com/install
And to stream from your local folder is easier task.从本地文件夹流式传输更容易。

But if you really need to get files from Dropbox real-time, you can use their API.但是如果你真的需要从 Dropbox 实时获取文件,你可以使用他们的 API。 They've got libraries for many languages.他们有多种语言的库。 For example this one is for PHP, also tutorial there:例如,这是用于 PHP 的,还有教程:
https://www.dropbox.com/developers-v1/core/start/php https://www.dropbox.com/developers-v1/core/start/php

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

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