Search This Blog

Tuesday, November 13, 2018

Example usage of wget

wget -rc -l 0 ftp://user:password@it.i88.ca/path

wget -rc -l 0 http://user:password@it.i88.ca/path

-r
recursive, The default maximum depth is 5.
-c
continue getting a partially-downloaded file.

-l depth’
‘--level=depth’

Specify recursion maximum depth level depth.
 ‘-l 0’ is equivalent to ‘-l inf’—that is, infinite recursion.