im trying to run exec("wget -P /usr/local/apache/htdocs/temp ftp://ftp.someftp.com/somefile.zip");
it downloads the file fine to the temp folder i created but i want it to show the wget output as its downloading the file
eg
--14:42:51-- ftp://ftp.something.com:21/somefile.zip
=> `somefile.zip'
Connecting to ftp.soemething.com:21... connected!
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
0K -> .......... .......
14:42:51 (1.92 MB/s) - `somefile.zip' saved [18100]
how do i do this?
since when i exec wget the browser does nothing till the file is done then goes to the next screen which i have made it to do on complete