keepuptodate and preserve timestamp

Advertisement

Parke
Joined:
Posts:
1
Location:
Indianapolis, IN

keepuptodate and preserve timestamp

Hello!
I am using WinSCP Version 4.1.6 (Build 412). I am using console and scripting to transfer via SCP using a keepuptodate function.

Initially, I was receiving the 'set permissions: not owner'. I wrote -nopermissions in the keepuptodate script to solve this. Then, I received the 'set times: not owner' prompt which I turned off 'Preserve timestamp'. (I exported the .ini file and am using /ini=c:\sysmod\winscp\winscp.ini to reference the config file.) I am still receiving the 'set times: now owner' prompt.

I have attempted option confirm off in the script file, but I'm not sure that applies to keepuptodate.

Is there any other way to turn off preserve timestamp? Also, if I do successfully remove this functionality wouldn't that prevent keepuptodate from checking if this file was actually updated?

Thank so much Martin!

~Parke~

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: keepuptodate and preserve timestamp

Parke wrote:

Also, if I do successfully remove this functionality wouldn't that prevent keepuptodate from checking if this file was actually updated?
Correct. It makes no sense to turn off preserve timestamps with keepuptodate.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum