'winscp.com' is not recognized as an internal or extenal command, operable program or batch file
I seem to keep getting this problem when installing WinSCP for the first time on a new machine (Windows Server 2008 R2), my same script works fine on my work machine (Windows 10 Pro) and I have checked the install directory is directed at
My script which is .bat is below...
C:\Program Files (x86)\WinSCP
. I have tried restarting the server after installing WinSCP and even when I open the cmd
and type winscp
I get the above error... any ideas?
My script which is .bat is below...
winscp.com /log=ftp.log /command ^ "open ftps://Administrator:password@server.com/ -passive -explicitssl -explicittls" ^ "synchronize remote C:\Users\Administrator\Documents\dumps /folder" ^ "exit" pause