Click here to Skip to main content
15,919,613 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi there,

I want to iterate all files and download them under a url. For example

url : http://www.okokok.com//d/418/

so the files might be
http://www.okokok.com//d/418/6-7.jpg or http://www.okokok.com//d/418/15.png etc..


All I can find are how to iterate files under a local folder. -_-;
But no one describes what I want......

ps: thanks guys.

Something that I have to clarify that I am not the web site administrator.
The aim of program is that I want to see the Cartoon on this website.So this program will get images from that web site.
And for those cartoon images, they are all on the different pages. One page contains 1 useful cartoon image,and other useless images as well.

You can not use spider, because there is not the url for the next Cartoon image on this page.

This is the web site url :http://www.narutom.com/comic/8809.html?p=6

So you can have a look what's in it.
And Cartoon Image url is in the table called :tbComic

Hopefully, what I mentioned is useful.

Thanks again
Posted
Updated 23-Apr-10 8:35am
v4

You can't, except if the web site administrator gives you browse permission. (not likely) You could 'crawl' the site, i.e. follow all the links on a page, and iterate this.
If you have ftp access to site, you can follow it's directory structure (not likely).
If the site responds to WebDav, you could map it in explorer (even not likelier)
 
Share this answer
 
That is handled by the web server and, to my knowledge, there is no way to override the way the server has configured access.

If you want to change the default behavior of a website you manage, you will need to consult the manual for your server software. In many cases, you can do this by either globally turning off default content pages (if you are running IIS, pull up the management console, right click on the website node, select Properties, go to the Documents tab and uncheck Enable default content page) or by removing default pages such as default.aspx and index.html from the folders that you want to be browsable.
 
Share this answer
 
ding~~~~
Is anyone has other idea?

thanks

????
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900