Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date modified #1

Open
ctlaltdefeat opened this issue Oct 16, 2014 · 1 comment
Open

Date modified #1

ctlaltdefeat opened this issue Oct 16, 2014 · 1 comment

Comments

@ctlaltdefeat
Copy link

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
Copy link
Owner

nwgat commented Jan 13, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants