nwgat / lftp

A collection of lftp bash scripts
GNU General Public License v2.0
9 stars 4 forks source link

Date modified #1

Open ctlaltdefeat opened 10 years ago

ctlaltdefeat commented 10 years ago

Hey mate, I'm using lftp mirroring on my local Windows 7 machine in a timezone currently on GMT+2, mirroring from a Linux server in Paris which is on GMT+1. I'm running across a weird issue with the 'date modified' field: when new files are downloaded to my local PC, they seem to be set with a date modified which is the date modified on the server plus 3 (that is, 2 hours ahead of what I would want). Any reason why that could be? I've tried setting ftp:timezone to Europe/Paris, but it hasn't worked (which I would sort of expect, it shouldn't have a problem understanding the timezone on the Linux machine). I'm posting this here because perhaps it has to do with the lftp compiled on Windows not being able to understand the Windows timezone or something; maybe that's completely wrong though. Could you see if you get a similar problem?

Thanks

nwgat commented 9 years ago

i compile it under cygwin, i have my server in the same timezone as me (GMT+1) did you try sftp:timezone and look up lftp man page for more info about sftp timezones etc sorry for late reply

if you use the mirror script it uses sftp not ftp by default