upload a file dont work
Here is a simple script to my domain linux pc. I have winscp and in that folder i put my script that I should upload and script for uploading that (first) script to pc.
But when open it, nothing happend, no errors, no nothing. And it didnt copy. sftp is opened, and with win scp GUI i can upload.
Where is mistake?
This is my .bat script
But when open it, nothing happend, no errors, no nothing. And it didnt copy. sftp is opened, and with win scp GUI i can upload.
Where is mistake?
This is my .bat script
open sftp://myuser:mypassword@192.168.1.21/
put skrpta.sh /home/Test/Desktop
exit