Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

danbr

I seem to have fixed my own problem... had to add the PATH environment variable manually...
C:\Program Files (x86)\WinSCP\
danbr

'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 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


[/code]