Topic "Keep Remote Directory Up to Date -- auto skip files in use?"

Author Message
chippy

Guest


Hi,

I'm using the Keep Remote Directory Up To Date function, and it seems to work well. However, I keep getting an error message indicating that the file is in use (it's a folder accessed by a number of users). I have to click "skip" and then it continues with the normal process. However, this defeats the purpose of having an automatic sync--I have to manually intervene to keep the process going.

Is there any way to make WinSCP automatically click "skip" (or just ignore these files) so I don't have to manually intervene?

Thanks.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
You can exclude the files from synchronization.
https://winscp.net/eng/docs/ui_transfer_custom

Or you can try to enabled the Continue on Error:
https://winscp.net/eng/docs/ui_pref_environment
chippy

Guest


Will try the continue on error option
Chippy

Guest


now it keeps popping up a "x errors occurred during your last process. Do you want to see them?" Is there any way to avoid this dialog box?

To be clear, it looks like WinSCP is detecting a change whenever someone even opens one of the files in the sync directory, then generates an error because that file is open and it presumably can't transfer it--which is odd behavior.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
Chippy wrote:
To be clear, it looks like WinSCP is detecting a change whenever someone even opens one of the files in the sync directory, then generates an error because that file is open and it presumably can't transfer it--which is odd behavior.

WinSCP definitely does not detect, when file is open. But some applications (notably Microsoft Excel) have odd behaviour, where they update file timestamp to current time, whenever you open the file. Reverting the timestamp to its original value, when you close the file without saving it. Then, WinSCP would behave as you describe. Can it be the case?
Chippy

Guest


Indeed excel files are the ones causing the problem. Is there any sort of workaround?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
Chippy wrote:
Indeed excel files are the ones causing the problem. Is there any sort of workaround?

Unfortunately, no. Any hint for workaround?
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