On 12/20/05, talalshaikh <[EMAIL PROTECTED]> wrote:
Create a mirror image of www.blabla.com (with the same directory structure the original has), up to six recursion levels, with only one try per document, saving the verbose output to log file 'log':
Hi All,
I want to write a shell script which copies files from a URL like
http://www.blabla.com/image.jpg to a local folder. where the script is
running. This is to ne done on port 80 only.
Create a mirror image of www.blabla.com (with the same directory structure the original has), up to six recursion levels, with only one try per document, saving the verbose output to log file 'log':
wget -r -l6 -t1 -o log http://blabla.com
Or you can use curl.
Refer :
http://curl.planetmirror.com/docs/httpscripting.html
for a write up on curl.
rgds,
Abdul Ahad
SPONSORED LINKS
| Linux operating system | Linux os | Hosting linux unix web |
| Free linux operating system | Linux migration | Linux user |
YAHOO! GROUPS LINKS
- Visit your group "dubailug" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
