Topic "Watch Folder - Timestamp issue"

Author Message
TomAuger

Guest


Hi Martin, thanks for your awesome work on WinSCP. I have been a user for nearly a decade.

I just tried to set up a remote folder monitor and am getting the usual timestamp error.

The problem is that you cannot uncheck "preserve timestamp"! Is that because the folder monitor logic needs the timestamp in order to know when a file has changed?

At any rate, I'm frustrated because I really would like to monitor the local directory and sync changes, but I am constantly getting these errors.

I can't SCP as root, so what other options are there?

Thanks!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
Yes, WinSCP needs to "preserve" the timestamp for the "keep remote directory up to date" function to work. So if you do not have a permissions to update the timestamp, it won't work.
TomAuger
[View user's profile]
Donor
Joined: 2011-06-16
Posts: 1
Location: Toronto, Canada
The problem with that is on most Unix servers, only ROOT or the owner of the file can update timestamps using touch -t etc. And it's very unlikely that you will see the majority of your users SCPing with root access, and in a development scenario, you may find yourself unable to become the owner of a file.

Thanks for confirming this. Keep up the great work!
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License