Unknown command 'cp'

Advertisement

timcoulter
Joined:
Posts:
2
Location:
Australia

Unknown command 'cp'

Hi team,

Am receiving an "Unknown command 'cp'" message when attempting the following:
WinSCP.com /command "open sftp://ks:password@10.190.129.251/opt/superb/test/data/tjc/" "cp *.db /backup/" "close" "exit"
The online help lists cp as a usable command, yet when type help in the Command console, it's not listed.

I'm running the latest v5.11.

Any help on this would be greatly appreciated!

Tim.

Reply with quote

Advertisement

timcoulter
Joined:
Posts:
2
Location:
Australia

Re: Unknown command 'cp'

Thanks Martin for the quick response.

I've now downloaded and installed the 5.12 beta release. Upon testing, am now getting the following error:
Operation not supported.
Have tried the following (where backup is a sub-directory of where I currently am) all with the same error:
cp static.db /backup/
cp static.db backup/
cp static.db /backup
The server is "Red Hat Enterprise Linux Server release 6.5 (Santiago)".

Am I doing something wrong?

Thanks, Tim.

Reply with quote

Advertisement

You can post new topics in this forum