Upload file through SFTP : Command Line
option echo off
option batch on
option confirm off
open sftp://was@10.121.144.78:22/ -privatekey=E:\key.ppk -passphrase="passphrase"
lcd E:\ put -nopermissions -nopreservetime *.zip /usr/*.zip
exit
option batch on
option confirm off
open sftp://was@10.121.144.78:22/ -privatekey=E:\key.ppk -passphrase="passphrase"
lcd E:\ put -nopermissions -nopreservetime *.zip /usr/*.zip
exit
Comments
Post a Comment