Alexander Dalloz wrote:
I agree, but for ftp you only have the depth of the filesystem structure to consider. This is useful, for example, when mirroring a site. I use it this way regularly and with a careful look at the amount to be downloaded it works well.Am Di, den 06.04.2004 schrieb Jeff Vian um 22:51:
And to get the entire directory tree from a single point useTo your 'problem': wget ftp://server_address/path/dir/*.rpm
See "man wget" and "wget --help".
# wget -r ftp://server_address/path/dir
Jeff, that is certainly right. I only was careful not to mention the "-r" switch :) It is advised to use the "-l" switch in combination with "-r".
My answer was especial for an FTP server source and will not fit for HTTP servers.
With http you most certainly would want the "-l" option to prevent an enourmous tree spanning (potentially) the entire internet since recursion on a web page would follow ALL links.
Jeff