Emuforums.com

Go Back   Emuforums.com > General Discussion > Web development / Programming
About Us Register FAQ Members List Calendar Mark Forums Read

Login to remove all ads!
Reply
 
LinkBack Thread Tools Display Modes
Old May 15th, 2008   #1 (permalink)
Atari 2600 > PS3/360/Wii
 
BigIg's Avatar
 
Join Date: Aug 2006
Location: A crappy state in a crappy country
Posts: 890
A simple program to download images in a series (...file01.jpg, file02.jpg, etc.)

Recently, I lost my password to a web server in which I have many photos stored. I've tried everything, but I Can't remember the password.

Luckily, the images are named in a logical order (DSC101.jpg, DSC102.jpg, etc).

What I need is a simple program to download the images in a series, from DSC101 to DSC199. It can be programmed in any language, as long as its easy to modify it to point to the domain my images are stored at.


Thanks,
BigIg
__________________

Intel Core 2 Quad Q6600 @ 3.4GHz , 4GB Kingston DDR2-1066 , EVGA GeForce 9600GT 512MB Superclocked , 320GB Seagate Barracuda, Realtek ALC662, Rosewill 850 Watt,
Windows XP X64 / Windows Vista Ultimate X64
17" Dell CRT Monitor
BigIg is offline   Reply With Quote
Old May 15th, 2008   #2 (permalink)
AI
 
GeominorAI's Avatar
 
Join Date: Aug 2007
Location: System Server
Posts: 325
In your browser address bar, type in:
Code:
javascript:for(i=101; i<=199; i++) {document.writeln("<IMG SRC='http://www.urlgoeshere.com/DSC" + i + ".jpg'/>");}
Replace urlgoeshere with the URL.

Then use a general download manager like FlashGet to download the images from that page.
__________________
Inspiron 1520 - Intel Core2 Duo T7500 2.2GHz - 2.0GB DDR2 RAM - Nvidia GeForce 8600M GT 256MB DDR2 600/485

Contribute to and review game troubleshooting Knowledge Base articles at the PCSX2 Game Troubleshooting Guide and PCSX2 Game Statistics Index.
GeominorAI is offline   Reply With Quote
Old May 15th, 2008   #3 (permalink)
Menthol Flavored
 
TheCloudOfSmoke's Avatar
 
Join Date: Mar 2005
Location: In your butt. If I'm not there, I'm in Maryland, USA.
Posts: 2,731
Give me the url of one of the images and tell me what number it ends at and I can set up a list file for Flashget to auto download all of your files for you.
__________________
http://thecloudofsmoke.deviantart.com/
http://thecloudofsmoke.deviantart.com/gallery/

Quote:
Originally Posted by Ryu2 View Post
Unfortunately I'm back already with another dumb question. How do I activate the stylus? >_<

(I tried jabbing at the computer screen with the nds stylus but it didn't work).
TheCloudOfSmoke is offline   Reply With Quote
Old May 15th, 2008   #4 (permalink)
AI
 
GeominorAI's Avatar
 
Join Date: Aug 2007
Location: System Server
Posts: 325
Oh right, just use batch download from Flashget.
__________________
Inspiron 1520 - Intel Core2 Duo T7500 2.2GHz - 2.0GB DDR2 RAM - Nvidia GeForce 8600M GT 256MB DDR2 600/485

Contribute to and review game troubleshooting Knowledge Base articles at the PCSX2 Game Troubleshooting Guide and PCSX2 Game Statistics Index.
GeominorAI is offline   Reply With Quote
Old May 15th, 2008   #5 (permalink)
Atari 2600 &gt; PS3/360/Wii
 
BigIg's Avatar
 
Join Date: Aug 2006
Location: A crappy state in a crappy country
Posts: 890
Quote:
Originally Posted by GeominorAI View Post
In your browser address bar, type in:
Code:
javascript:for(i=101; i<=199; i++) {document.writeln("<IMG SRC='http://www.urlgoeshere.com/DSC" + i + ".jpg'/>");}
Replace urlgoeshere with the URL.

Then use a general download manager like FlashGet to download the images from that page.
That works perfectly, thanks alot!

EDIT:
Thanks to TCOS too, but I read his post first and went with it.
__________________

Intel Core 2 Quad Q6600 @ 3.4GHz , 4GB Kingston DDR2-1066 , EVGA GeForce 9600GT 512MB Superclocked , 320GB Seagate Barracuda, Realtek ALC662, Rosewill 850 Watt,
Windows XP X64 / Windows Vista Ultimate X64
17" Dell CRT Monitor

Last edited by BigIg; May 15th, 2008 at 22:09.
BigIg is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 13:12.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.0 Release Candidate 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5