Preview:
wget -r -l 0 <ftp|sftp>://<user>:<password>@<host>/<path>/*


// -r means recursive.
// -l 0 for infinite recursion, because -r by default have recursion depth of 5.

// If the host is 'example.com' and the path is 'foo/bar' with the file 'baz.txt',
// the result will be './example.com/foo/bar/baz.txt'.
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter