lftp is a great program, but if you have ssh access, rsync might be more
appropriate to mirror files (lftp really shines at handling all 
the quirks of various FTP servers). Something like:

rsync --rsh=/usr/local/bin/ssh --checksum --recursive --stats --links
--safe-links myremotehost:/my/remote/dir/
/my/local/dir/


On Sun, 16 Jul 2000, Andre Noll wrote:

> Date: Sun, 16 Jul 2000 19:58:29 +0200
> From: Andre Noll <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: Alexander V. Lukyanov <[EMAIL PROTECTED]>
> Subject: Re: preserve time and mirror -R
> 
> Hi
> 
> On Sun, Jul 16, 2000 at 07:38:47PM +0400, Alexander V. Lukyanov wrote:
> > On Sat, Jul 15, 2000 at 10:04:22PM +0200, Andre Noll wrote:
> > > is it possible to use lftp's mirror command with the -R option set 
> > > (reverse mirror) such that modification time of the files being mirrored 
> > > is preserved? 
> > 
> > No, ftp protocol does not provide means for changing modification time
> > on remote files. I heard something about SITE MTIME (nonstandard
> > extension), but most ftp servers do not support it.
> 
> Hmm, in this case I am rather clueless concerning the following problem:
> 
> I'd like to mirror (parts of my) home dir at work on my Linux machine at home. 
> 
> Since the admin at work doesn't allow ftp access, I have to ssh on my 
> Linux box at work to invoke lftp from there. 
> 
> But this requires using mirror -R :(
> 
> Is there any other way to achieve what I want? In particular I see two 
> possibilities: 
> 
> - Maybe it is possible to use lftp just to find the list of files and then 
>   use scp to transfer them. This would have the advantage that
>   file transfer is encrypted.
> 
> - Perhaps it's possible to install some ftp server at work which doesn't
>   need root privileges to run (eg. ftp4all, has anybody experience in
>   that direction?)
> 
> Anyway, thanks for your quick response and sorry of being somewhat OT.
> 
> Andre
> -- 
> No signature left on device /dev/signature
> 

Reply via email to