I´m having the following problem,
I have an "external" program which calls a .bat file (which generate and execute the WinSCP Script) for each file received by this external program.
The problem is the following,
If the external program receives, for example, 6 files at the same time... it calls 6 times the .bat file at the same time too. Then we have 6 .bat running parallel creating one Script, the same Script for the 6, and executing this Script 6 times... causing "random missing tranfers" (or that is what I think...)
I have tryed different ways to generate the name of each Script, but I saw on the .log file that the WinSCP commands are executed ones between the oders.... and for example:
1 Open XXXX Open XXXX
2 Transfer XXXXX
3 Transfer XXXXX
4 Transfer XXXXX
5 Close Transfer XXXXX <---- Not transfered
6 Transfer XXXXX <---- Not transfered
Could someone please give a solution for this problem? I can´t find anything....