Previous: Relative Links, Up: Following Links



4.5 Following FTP Links

The rules for ftp are somewhat specific, as it is necessary for them to be. ftp links in html documents are often included for purposes of reference, and it is often inconvenient to download them by default.

To have ftp links followed from html documents, you need to specify the --follow-ftp option. Having done that, ftp links will span hosts regardless of -H setting. This is logical, as ftp links rarely point to the same host where the http server resides. For similar reasons, the -L options has no effect on such downloads. On the other hand, domain acceptance (-D) and suffix rules (-A and -R) apply normally.

Also note that followed links to ftp directories will not be retrieved recursively further.