Hello, I have shared hosting account without shell access, so I want to know if there's any script that will download files from another server to my server (just like wget, but in php) ? Thanks in advance!
The easiest way would be: $source = 'http://example.com/file.zip'; $target = 'files/file.zip'; if (@copy($source, $target)) { echo 'File copied'; } else { echo 'Could not copy file'; } PHP:
Yes, I use a PHP fetcher + unzipper to speed up my Wordpress installs myself. Takes seconds instead of however long it takes you to upload that many files.