Subject: Re: FTP and subdirectories
To: Mike Pelley <mike@pelley.com>
From: Jaromir Dolecek <dolecek@ics.muni.cz>
List: current-users
Date: 09/02/1998 00:03:02
Mike Pelley wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Using the new super duper (and fun!) FTP program, I wanted to download a
> bunch of files from a remote site in various subdirectories, similar to
> cp -R.  If I type mget *, the ftp program gets everything in the current
> dir, then proceeds to go into each of the subdirectories and attempt to
> retrieve the files inside.  Unfortunately, it then dies if the subdirectory
> does not exist on my machine.
> 
> So my question is, would it be reasonable to add functionality to FTP so
> that it creates directories locally when retrieving files in the form of
> 'dir/file'?

Actually, there exist a PR about this, with a patch. Nobody bothered
to apply it ;)
I have done it in late 1.2 times, PR contains patch updated for 1.3.

-- 
Jaromir Dolecek <dolecek@ics.muni.cz>	http://www.ics.muni.cz/~dolecek/
-------------------------------------------------------------------------
It is better never to have been born.  But who among us has such luck?
One in a million, perhaps.