Topic "winscp.rnd"

Author Message
mitjas
[View user's profile]

Joined: 2008-05-28
Posts: 2
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?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
mitjas wrote:
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.

What script do you mean? If .bat file than del should bee execute only after winscp finishes. At least with regular winscp. I do not know winscpportable.

You may try to set RandomSeedFile to %TEMP%\winscp.rnd. But that depends on version of WinSCP you are using.
_________________
Martin Prikryl
mitjas
[View user's profile]

Joined: 2008-05-28
Posts: 2
Yes, it's .bat and del command executes immediately after first session in ALL_servers script is opened as mentioned before...strange.

I'll try with %TEMP%\winscp.rnd and let you know.

Thanks for helping.
Guest




%TEMP%\winscp.rnd didn't help. I have switched to regular winscp,... after that everything works perfectly.
BTW: great, great program!
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License