天天看點

pscp使用問題

#putty-64bit-0.70-installer(win64)安裝後,pscp在windows和linux間拷貝檔案很好用

C:\Users\23370\Downloads>pscp Bugzilla5.0hhb_downcc.zip [email protected]:/root

[email protected]’s password:

Bugzilla5.0hhb_downcc.zip | 512 kB | 512.3 kB/s | ETA: 00:00:00 | 100%

OK!

#linux的目錄是中文,pscp不能正确執行!

C:\Users\23370\Downloads>pscp [email protected]:/root/漢化包/readme.txt d:

[email protected]’s password:

unable to identify /root/漢化包/readme.txt: no such file or directory

#windows的目錄是中文,pscp沒問題!

D:>cd D:\bugzilla資料\安裝包

D:\bugzilla資料\安裝包>pscp [email protected]:/root/hhkit/readme.txt d:

[email protected]’s password:

readme.txt | 0 kB | 0.1 kB/s | ETA: 00:00:00 | 100%

C:\Users\23370\Downloads>pscp [email protected]:/root/hhkit/readme.txt d:

[email protected]’s password:

readme.txt | 0 kB | 0.1 kB/s | ETA: 00:00:00 | 100%

D:>pscp [email protected]:/root/hhkit/readme.txt D:\bugzilla資料\安裝包

[email protected]’s password:

readme.txt | 0 kB | 0.1 kB/s | ETA: 00:00:00 | 100%

#但拷貝到C槽不行!

D:\bugzilla資料\安裝包>pscp [email protected]:/root/hhkit/readme.txt c:

[email protected]’s password:

pscp: c:\readme.txt: Cannot create file

繼續閱讀