The script first read all the files (logs them into read.log) and then transfers them (logs into transfer.log).
As long as there are upto 150 files, all the files are transferd. I can find them in both read.log and transfer.log.
When there are more than 200 files, WinSCP skips a few files while transferring them eventhough i can see that the files are being read (in read.log)
What seems to be the issue?