Getting ftp_put progress
Posted
by Billiam
on Stack Overflow
See other posts from Stack Overflow
or by Billiam
Published on 2010-05-21T20:50:21Z
Indexed on
2010/05/21
22:30 UTC
Read the original article
Hit count: 196
I have a php script on a web server that uploads a file to another remote server via ftp_put.
How can I display the current upload progress to the user?
The only similar system I've seen is for file uploads from the user, with ajax requests to check the local size of the uploaded file on the server.
The equivalent system would be ajax requests to the web server, that then checked file sizes on the remote server and returned that data to the user's clientscript.
This seems horribly inefficient to me. Is there a better way?
© Stack Overflow or respective owner