topcat Posted April 1, 2009 Share Posted April 1, 2009 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 Quote Link to comment https://forums.phpfreaks.com/topic/152042-php-file-uploads/ Share on other sites More sharing options...
Daniel0 Posted April 1, 2009 Share Posted April 1, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/152042-php-file-uploads/#findComment-798655 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.