0

I have a standard HTML form, including a file input, allowing users of a web application to upload files (pictures, documents or videos).

It technically works, except when it comes with a large file... I have a personal dedicated server on which I can change the PHP configuration to handle larger files ; But this is not a reliable solution as my client has a shared hosting.

I know HTTP has different limits and is definitely not the best protocol to handle files.

So my objective is to avoid HTTP upload.

I was wondering if there is any way to rely on FTP to upload the selected file.

Any solution to upload files through FTP, directly from client's browser ?

EDIT :

  • I've read some solutions about Java applets, however this is not really something I can, or even want to, provide.
  • And as the files are confidential, using a third-party service is not possible neither.
6
  • 1
    you could use a third party file host Commented Jul 12, 2015 at 20:53
  • Technically, I totally could ! Except the files I am talking about are confidential, unfortunately... Commented Jul 12, 2015 at 20:56
  • 1
    if the files are confidential, then they shouldn't be ftp'd in the clear. you should sftp or scp instead... or even an https-based file upload. Commented Jul 16, 2015 at 21:43
  • Oh, yeah, thanks for the precision but obviousy, it will be over SSL, I'm just trying to figure out if HTML to FTPS is possible, but apparently not. Yet. Commented Jul 16, 2015 at 21:47
  • Possible duplicate of FTP upload via PHP form Commented Mar 23, 2016 at 14:22

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.