Jump to content

PHP file uploads


topcat

Recommended Posts

Hi,

 

I am wondering if there is a way to upload large files quickly, an example would be facebook image uploads. I am wondering whether it is possible to use a protocol other than http to transfer the file from the users pc to the webserver but cannot think of a way to do this. Someone suggested using FTP but surely this wouldn't be possible as the PHP code is all server side?

 

I created a small FTP client in flash but can't use this anymore due to the change in flash players security model requiring a security policy server to be run on the ftp server host and I have "annoying" shared hosting.

 

Anyone have any ideas how to achieve FTP upload through a browser preferably without using a java applet as my java is pretty damn rusty?

 

Thanks in advance,

 

Tony

Link to comment
Share on other sites

The upload speed can be no faster than the lowest of either the server's download speed and the client's upload speed. Showing a fancy progress bar won't make it upload faster, but it is of course better for the user as he will be able to figure out how long time there is left.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.