EvanAgee Posted March 10, 2008 Share Posted March 10, 2008 Hello all, I'm working on a script that, in part, transfers an uploaded file to a remote server. I have the FTP portion setup and working just fine. However, I'm looking to create a progress bar to show the user the progress of the transfer to the server. Does anyone know of a PHP command that will get the percentage or number of bytes that have been uploaded via the PHP FTP commands? Also, while I'm on the subject, can anyone think of a way that I could just upload directly to the other server instead of uploading once to server1 and then transferring the large file to server2? Thanks! Quote Link to comment Share on other sites More sharing options...
revraz Posted March 10, 2008 Share Posted March 10, 2008 You would probably want JS for this. Quote Link to comment Share on other sites More sharing options...
EvanAgee Posted March 10, 2008 Author Share Posted March 10, 2008 Yes, I would probably use JS to power the progress bar, but I'm assuming I'd need to use PHP to get the percantage/value to pass to the JS for the progress bar. Quote Link to comment 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.