A loop in WinSCP script

Advertisement

sak2104
Joined:
Posts:
3

A loop in WinSCP script

Hello,

I learned how to use scripting in WinSCP and it works fine. However, for my application, I need to retrieve files from remote server every 5 sec. Basically, I need a loop:

while not done
get filename
pause
next

- from scripting commands you listed on the website I don't see how I can do this. Is there any way?

thank you!

Sergei

Reply with quote

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

Re: A loop in WinSCP script

WinSCP does not support with directly. But you can make the loop in a batch file (or other scripting language).
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum