Topic "winscp.com is not a valid win32 application"

Author Message
Torin

Guest


Trying to script a transfer using a batch file. This is the contents of the bat file:
"C:\Program Files (x86)\WinSCP\winscp.com" /script="mobwscp.txt" > "moblog.txt"

The OS returns: C:\Program Files (x86)\WinSCP\winscp.com is not a valid win32 application

Yet I can execute "C:\Program Files (x86)\WinSCP\winscp.com" from the same cmd session where I am attempting the bat.
OS is Win Server 2008 R2.
I checked permissions on winscp.com: full control.

I believe UAC is off.

any ideas?
Makc666
[View user's profile]

Joined: 2016-12-08
Posts: 52
Location: MSK-RU
I think you have to provide more details like which version you use?
Did you install WinSCP under the user you trying to run in?
What you get when try to run from Start cmd.exe /K "C:\Program Files (x86)\WinSCP\winscp.com"
Torin

Guest


We found the issue - had to reinstall WinSCP using change user /install.
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