Topic "Open host fails with installed WinSCP"

Author Message
[View user's profile]

Joined: 2015-05-01
Posts: 1

I started to test WinSCP using the executables from, and put them in my test directory. I then created a batch file to list files on a remote host: sftp://root@ /command ^
"call ls" ^

This worked fine, so then I ran the installer in winscp572setup.exe and removed the local executables. I checked the option to add WinSCP to PATH. But then the batch file didn't work.

So then I copied the executables from back to my local directory, and now my batch file worked. So then I removed them again, and BINGO! Now the installed version of WinSCP connects to the remote host.

Obviously the standalone version does something to the registry which the installed version needs to be able to work. And this setting is removed when the installer runs (or it sets some default value which doesn't work)
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26447
Location: Prague, Czechia
MatsW wrote:
But then the batch file didn't work.

That's pretty vague.
What does not work?

Please attach a full log both for a run with a standalone and installed WinSCP.

To generate log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Note that installed and standalone binaries are identical.

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License