Posts Tagged With: download

Download Multiple URLs

Tagged with: , , , , , ,

Command to download a series of urls with zero padding files…


for ((i=1;i<20;i++))
do wget "http://img55.onemanga.com/mangas/00000004/00000000/Naruto-Pilot-`printf "%02d" $i`.jpg"; done
done
No Comments »

Fetch a URL With a Number Series

Tagged with: , , , , , ,

Use this command to download numbered content…


for ((i=1; i<9; i++)) ; do  wget "http://www.example.com/$i.txt" ; done
1 Comment »

Force Download Dialog with PHP using octect-stream

Tagged with: , , , , , ,

Use this code to force a download of any type of content with PHP


header("Content-type:application/octect-stream");
header('Content-Disposition: attachment; filename=filename_' . date('Y-m-d') . '.sql');
print "Hello World";
No Comments »

Schedule a Download

Tagged with: , , , , , ,

Start a download at any given time


echo 'wget -c www.example.com/files.iso' | at 09:00
No Comments »

Download Multiple Files with Wget

Tagged with: , , , , , ,

Wget can be used to download multiple files with just one command


wget -c "http://example.com/file[1-9].htm"

[tags]wget,download,multiple,series,linux,command,cli[/tags]

No Comments »

Download Entire Folder using Wget Command in Linux

Tagged with: , , , , ,

wget -m http://www.tldp.org/HOWTO/Serial-Programming-HOWTO/

-m, –mirror
shortcut for -N -r -l inf –no-remove-listing.

wget -H -r --level=1 -k -p http://www.tldp.org/HOWTO/Serial-Programming-HOWTO/

-r, –recursive
Specify recursive download.
-l, –level=NUMBER
Maximum recursion depth (inf or 0 for infinite).
-k, –convert-links
Make links in downloaded HTML point to local files.
-p, –page-requisites
Get all images, etc. needed to display HTML page.

Original Article
wget Manual

No Comments »