Hi all, I'm trying to use exec() and wget, so it looks something like this: echo "Executing..."; exec("wget $link"); echo "Complete!"; PHP: So the file, (which is quite small) is downloaded, but the "Complete!" message isn't displayed after the wget is carried out? Am I doing something wrong? Is it also possible to output the progress of the download, before it shows the complete message? Cheers
Not that I know much about wget, but give this a try. exec('wget -N -O ' . $filename . ' "' . $link . '"'); PHP: