Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Xeo

Re: Retry when scripting with .net assembly

Thanks a lot! That seems to have done the trick :)
Xeo

Retry when scripting with .net assembly

Hi,

I am using the feature to mirror two directories using WinSCP and this works great. But, one of the servers I am using is generating some kind of timeout, saying 'Could not retrieve directory listing'. I get the same message using the GUI, but as you see in the attached image, I can press 'Retry', and it will continue from where it left off.
When scripting this, I cant seem to find any parameter to add this 'Retry' into the script. If I just have the script run again on error, it have to start all over again, and there is a very slim chance of it ever completing without running into this error.

Is there a way to add this retry function to the script as of now, or is this something that could be added?

Regards,
Magnus[/img]