Script to download images from known directory w/ numerical filenames, autoincrement

Status
Not open for further replies.

radio

Unconsciously competent.
Nov 18, 2007
1,535
48
0
auction2post.com
Here's the deal, I have a CMS host who will not give me access to all of the image files that I have uploaded, saying that it's not a service they offer. This is their way of making me hostage to their absurd contract. However, I know the range of file names and what directory they are in. I want a script that will check to see if an image exists, if not, autoincrement, if yes, download, autoincrement.

For example:

http://www.directory.com/images/1.jpg

http://www.directory.com/images/4.jpg

http://www.directory.com/images/8.jpg

http://www.directory.com/images/11.jpg


These are all images that exist and I want to download. However, image 2.jpg does not exist and I want it to handle that exception.

There are 400 images that I want to download.

Let me know if I need to be more clear. Does $20 get this done?
 


I am done already, with bells and whistles....

Lets see how the rest of the transaction goes.

::emp::
 
Status
Not open for further replies.