Comments (3)
I Think there is a way based on that:
from dropphp.
This seems not be possible with the Dropbox REST API.
Instead of sharing the Dropbox links you could create a "proxy" with DropPHP. It keeps file names and their expire date in a DB table. On file request it either redirects to the Dropbox file URL (expiring after 4h) or just gives an expired message.
from dropphp.
There is an easier way which actuality works well. I've managed to use a shared link instead of direct and preg_replace URL from www to dl. This way the links does not expiry. My idea has been based on pancake.io
from dropphp.
Related Issues (20)
- Unable to Upload Zip File
- How to set access token HOT 2
- API v1 will be turned off. HOT 23
- 500 Internal Server Error HOT 1
- Update Script for API v2? HOT 3
- How to create upload media shareble url.
- Method access modifiers HOT 2
- License
- sample.php - undefined SetAccessToken HOT 2
- chunked upload not working in current HOT 2
- $dropbox->CreateFolder doesn't work without this edit to DropboxClient.php HOT 1
- Call to undefined method DropboxClient::SetAccessToken() HOT 1
- Issue with MAX_UPLOAD_CHUNK_SIZE = 150 * 1024 * 1024; HOT 3
- PHP warning - Deprecated: locale - line 50
- Cannot list files in larger folders HOT 1
- Error Constanta HOT 1
- Thank you for v2
- Send client file to dropbox
- Update for refresh tokens?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dropphp.