如何使用rcp将文件从linux复制到windows

时间:2014-05-21 02:47:26

标签: linux rcp

我想用linux远程将文件从linux复制到windows。虽然rcp cmd不支持“c:”。我怎样才能转到c:\

rcp /home/CommonFuncs.pm windows2003:C:/CommonFuncs.pm
Winsock RSHD/NT: Error 3 executing '/usr/lib/sunw,rcp -tZ C:/CommonFuncs.pm' The system cannot find the path specified.

rcp /home/CommonFuncs.pm windows2003:C:/CommonFuncs.pm
Winsock RSHD/NT: Error 3 executing '/usr/lib/sunw,rcp -tZ C\:/CommonFuncs.pm' The system cannot find the path specified.

1 个答案:

答案 0 :(得分:2)

而是尝试使用scp命令,如下所示

scp /home/CommonFuncs.pm user@hostname:C:\CommonFuncs.pm