hellonoko Posted November 30, 2008 Share Posted November 30, 2008 I am trying to design a way in wich I could automate the following of download links in PHP. For example: https://www.yousendit.com/transfer.php?action=batch_download&batch_id=TTZuZXR6Y1M3bUN4dnc9PQ Or: http://www.zshare.net/audio/5176345521c01f22 I would like to automate the downloading of files from sites like these so that I could batch download a series of links. I have made something similar before where a PHP script I wrote would load a HTML page from myspace and scan it for certain content. I think in this case what I would need to do is depending on the site allow for processing of multiple pages or delays. How would I accomplish this with PHP? Also some download sites use a header pushing the download rather a direct link to the file. How would I incorporate that into something like file_get_contents() fopen() and fputs() Is php capable of this kind of thing? Thanks, ian Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.