Powershell automatic retry or skip.

Advertisement

rlupi001
Joined:
Posts:
1

Powershell automatic retry or skip.

Hi Sorry for the double post, i think my first post was in the wrong section of the forum..

when im syncing files automatically through my powershell script i always get this message:

[06/30/2015 10:22:11] Error transferring file '...File name'.
[06/30/2015 10:22:11] Sync Stopped

How can i script it so that it automaticlly skips files that can't be uploaded or retries to upload them. For example, in the gui if i run into an error i have the option of retrying or skipping the file.

Thanks in advance..

Reply with quote

Advertisement

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

Re: Powershell automatic retry or skip.

The WinSCP .NET assembly does not support this yet.

Reply with quote

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

Re: Powershell automatic retry or skip.

Yes, we are considering this.

Reply with quote

Advertisement

You can post new topics in this forum