Page 1 of 1

uGet

Posted: 12 Mar 2016, 22:20
by Jack
My question is how can I get uGet to download a whole directory of files? I can do one file at a time.

Re: uGet

Posted: 12 Mar 2016, 23:15
by brokenman
This doesn't answer your question at all, but it may help someone. I often use wget from a console to do this:

Recursively download all the files that are in the ‘ddd’ folder for the url ‘http://hostname/aaa/bbb/ccc/ddd/

Solution:
wget -r -np -nH –cut-dirs=1 -R index.html http://hostname/aaa/bbb/ccc/ddd/

Explanation:
It will download all files and subfolders in ddd directory:
recursively (-r),
not going to upper directories, like ccc/… (-np),
not saving files to hostname folder (-nH),
but to ddd by omitting first 3 folders aaa, bbb, ccc (–cut-dirs=3),
excluding index.html files (-R index.html)