2014-02-25 87 views
0

由於本地系統上的相同路徑在遠程系統上不存在,因此得出以下錯誤。
有沒有辦法指定一個替代路徑來保存遠程系統?使用staf將文件從linux複製到遠程windows計算機

[[email protected] mydir]# staf local FS COPY FILE /root/scripts/tests/script.bat TOMACHINE remoteVM 
Error submitting request, RC: 17 
Additional info 
--------------- 
\root\scripts\tests\script.bat 



錯誤信息:

17 File Open Error 
This indicates that there was an error opening the requested file. 
Some possible explanations are that the file/path does not exist, contains invalid characters, or is locked. 

Note: Additional information regarding which file could not be opened may be provided in the result passed back from the submit call. 

回答

0

實測值正確的命令:

staf local FS COPY FILE /root/scripts/tests/script.bat TODIRECTORY "C:\" TOMACHINE remoteVM 
相關問題