Answer the question
In order to leave comments, you need to log in
Is it ok to use FTP as storage for persistent access to files over the Web?
Hello.
The client asks to write a wrapper (PHP) for files located under the ftp server.
There was an idea to download files by timer (cron) at night. The client asks "and what, isn't it possible to transfer them directly through ftp_"?
Those. I mean, when someone somewhere clicks on a file on dumbsite.ru, PHP connects to FTP and (either caches or immediately streams) the file to the requester.
I shuddered a little...
As a direct reason for refusal, I heard that FTP has a connection limit of 25... but theoretically it can be solved...
To be honest, I never did such a crutch - I tried to achieve NFS for this storage, and mount on the end server, but the client rested against FTP.
I was not ready for this question / request, that's why I'm asking here ...
Tell me please, what do you think?
Thanks
Answer the question
In order to leave comments, you need to log in
No, it's not normal. I advise you to find out what the client really wants. And then think about how best to implement it, without becoming attached to the solution he proposed.
Take a look at Sprutio . It's free, beautiful, convenient. Able to work with external FTP.
What prevents ftp to http proxy through Nginx? Through a mount, for example: https://stackoverflow.com/questions/55338127/serve...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question