Topic "Powershell - option batch continue"

Author Message
Stephane Tinseau
[View user's profile]

Joined: 2014-06-18
Posts: 7
Location: Paris
Hi,

In my script, (powershell+.net), each time an error is triggered, like access deny, the directories synchronization is stopped.
I have remove the '$transferResult.Check()' line but it still stop.
How i can configure my script to NOT stop after any errors and continue to the rest of files.

Thanks
regards
Stephane
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
You cannot do that. You have to explicitly exclude inaccessible directories from the synchronization.
Stephane Tinseau
[View user's profile]

Joined: 2014-06-18
Posts: 7
Location: Paris
Hi,

It's not a good news Sad

Thanks anyway
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