下載pscp
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
放在Windows的c:windows/system32下
pscp.exe -l root -pw "KJdsnhjg" -r "c:\test0327.txt" root@10.132.131.51:/usr/local/source/dist
解釋:
將Windows中的c:\test0327.txt文件,傳輸到10.132.131.51:/usr/local/source/dist路徑下,-l 指定用戶名,-pw 指定linux的密碼