Alexander, When I try the sync-mode setting, lftp goes into a reconnect loop and never gets the file info.
I have found a solution, but it seems to contradict the documentation. Here is what I did: ftp:timezone -8 Again, the remote server is actually in the GMT+8 timezone, and I am in US/Pacific (currently GMT-7). If it is 8:00am on 5/1/2007 here (PDT) and I push a file to the Singapore server, the timestamp on the server reads 1:00am 5/2/2007. Reading the manpage, I would expect to set ftp:timezone to +8. But the -8 setting works. Is this the intended operation? Best regards, Raun -----Original Message----- From: Alexander V. Lukyanov [mailto:[EMAIL PROTECTED] Sent: Monday, May 07, 2007 11:07 PM To: Raun Nohavitza Cc: lftp@uniyar.ac.ru Subject: Re: mirror command problem On Mon, May 07, 2007 at 05:34:22PM -0700, Raun Nohavitza wrote: > MDTM does work, and returns the proper GMT stamp from the server, but > it is too slow to use. Have you tried `set ftp:sync-mode no' ? > Timezone of the remote server is GMT+8, timezone of the machine > running lftp is US/Pacific (7 or 8 hours behind GMT, depending on > daylight savings). I have set > > ftp:use-mdtm false > ftp:timezone +8 > > but newer files do not get xferred. It seems like the time comparison > just doesn't happen at all. Is there a way to troubleshoot this further? See if file modification time output by `ls' differs from local one. -- Alexander.