Post a reply

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

martin

Re: Can't upload file to server

It should be:
winscp.com /command "open devuser@172.17.18.127 -privatekey=C:\Users\dev\.ssh\my_private_key.ppk" "put latest.tar.gz /home/devuser/folder" "exit"
Suliman

Can't upload file to server

I am trying to upload auth on server and upload file with next command:

winscp.com /command "open devuser@172.17.18.127" /privatekey=C:\Users\dev\.ssh\my_private_key.ppk "put latest.tar.gz /home/devuser/folder" "exit"


It's connecting to server, but saying that "latest.tar.gz host do not exits". Why? It's not host-name, but name for file for uploading.