Answer the question
In order to leave comments, you need to log in
How to implement downloading files from the site to some cloud?
Good afternoon!
Task: It is necessary to implement on the website of the printing house the possibility of transferring source materials (images that need to be printed - the size can reach 1.5 GB) - to upload somewhere to the server. Initially, it was done via ftp, instructions were written for users, but it turned out to be inconvenient for most users (installing an ftp client, creating a connection).
Now we are looking towards existing file storages:
- Google Drive
- Yandex.Disk
- Dropbox
Do any of these have the ability to use the widget for downloading a file without authorization on this service. Those. ideally, the user presses the "Upload file" button, selects the desired file through the "Explorer" and the file is uploaded to the file storage service without authorizations and registrations of this user. Does anyone have experience with this kind of problem?
Questions:
1. Is this even possible on any service?
2. If so, which file storage service should I choose for this task?
3. Where can I find the API manual for such a service?
Answer the question
In order to leave comments, you need to log in
I don't think there is a similar feature for personal storage, but for Amazon S3 and Google Storage, this feature is definitely present.
AWS S3: aws.amazon.com/articles/1434
GSFD: developers.google.com/storage/docs/reference-methods#postobject
Dropbox had something else, but you have to smoke documentation there, and even for volumes of 1.5 Gb , I think it will be too expensive.
Connect Yandex.Disk to the server via WebDav by mounting it as a directory in the domain directory.
And upload files to it through your site, as if they were uploaded to your server.
You can even mount not the entire Yadisk, but any specific directory on it.
As an option - to put a simple server (at least assembled from an old personal computer) with a couple of disks in RAID (you can use software) on colocation. Pros: you can install whatever disks you want, as long as there is enough space in the case and power supply, there are no restrictions on software and its settings. Cons - can be expensive compared to other solutions; speed and fault tolerance, most likely, is less than that of Yandex-Disk and Dropbox (there are a lot of servers). A similar option is VPS (I can’t just say how comparable in price).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question