winscp.rnd
I have an issue with WinSCP Portable Edition, which I belive is the same as WinSCP using ini file for configuration. I'm running a script from scheduler which open multiple sessions, changes local directory and put files from that directory to multiple servers. The thing is, that on the end WinSCP writes winscp.rnd file to that local directory, which is a bit annoying, because next time that file is tranfered across servers as well.
I tried to change winscp.ini in every way - it doesn't help. At the moment it looks like this:
RandomSeedFile=.\winscp.rnd
DDTemporaryDirectory=.\
I also tried with script something like:
WinSCPPortable /console /script=ALL_servers.txt
del \\server\FTPDirectory\winscp.rnd
but del command doesn't wait for WinSCP to end, it executes immediately after first session in ALL_servers script is opened. Even start command with \wait switch doesn't help.
Any idea?
I tried to change winscp.ini in every way - it doesn't help. At the moment it looks like this:
RandomSeedFile=.\winscp.rnd
DDTemporaryDirectory=.\
I also tried with script something like:
WinSCPPortable /console /script=ALL_servers.txt
del \\server\FTPDirectory\winscp.rnd
but del command doesn't wait for WinSCP to end, it executes immediately after first session in ALL_servers script is opened. Even start command with \wait switch doesn't help.
Any idea?