Subject: Re: FTP upload of a directory tree of files
To: Anders Dinsen <>
From: Simon Raahauge DeSantis <>
List: netbsd-users
Date: 01/09/2000 17:08:40
On Sun, Jan 09, 2000 at 09:44:58PM +0100, Anders Dinsen wrote:
> Is there an easy way to have ftp to upload a full directory tree of files,
> creating the directories as needed?
> The man page mentions uploading (or downloading) a tar file, but that does
> not work if the ftp server does not support it (mine does'nt) and I don't
> have telnet access.
> It's my web hotel of course.
> A 'find' based script that produces a command file for ftp is of course a
> possibility.

There is lftp, which I also really like as a normal ftp client. It has a
mirror command that can download a whole directory try. It also can upload a
tree using some switch (mirror -r or something (r for reverse). It's got a
bunch of other nifty features as well. You can get it from
You could also hack up functionality like this for the NetBSD ftp client. ;)
-Simon Raahauge DeSantis