How do you limit the number of files to be transferred over
So in case I will get 100 .xml files I would like my script to send 5 files. Then after 10 minutes again 5 files etc.
I appreciate for your help.
SrpskiZmaj
Advertisement
Advertisement
I need help. I have requirements that no more then 5 .xml files can be transferred at a time. Script runs every 10 minutes.
So in case I will get 100 .xml files I would like my script to send 5 files. Then after 10 minutes again 5 files etc.
I appreciate for your help.
SrpskiZmaj
You cannot do this with a simple WinSCP scripting.
You have to use some advanced scripting language (e.g. PowerShell) to select the 5 files and make WinSCP transfer them.
N
suffix for minutes, like *.xml<10N
.
*.xml<20min
10 minutes after *.xml<10min
will select the same files (10+10=20).
Advertisement
Yes, useN
suffix for minutes, like*.xml<10N
.
See https://winscp.net/eng/docs/file_mask
But I do not see a point of your code.
Doing*.xml<20min
10 minutes after*.xml<10min
will select the same files (10+10=20).
Yes.What about something like that:
put 0min<*xml<10min
put 10min<*.xml<20min
put 20min<*.xml<30min
put 30min<*.xml<40min
The very same way, just usehi
I need help on how to set a time span for my transfer of files like 1000h-1200h only.
appreciate your help :)
H
unit:
put *.xml>1200H<1000H
Advertisement
You can post new topics in this forum