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! Link to comment https://forums.phpfreaks.com/topic/95466-progress-bar-for-server-2-server-ftp-transfer/ Share on other sites More sharing options...
revraz Posted March 10, 2008 Share Posted March 10, 2008 You would probably want JS for this. Link to comment https://forums.phpfreaks.com/topic/95466-progress-bar-for-server-2-server-ftp-transfer/#findComment-488690 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. Link to comment https://forums.phpfreaks.com/topic/95466-progress-bar-for-server-2-server-ftp-transfer/#findComment-488694 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.