VBoxManage guestcontrol <VMName> copyto issue
Posted: 6. May 2015, 10:28
Hello all,
When I try to execute following command:
c:\Program Files\Oracle\VirtualBox>VBoxManage guestcontrol Gateway copyto "C:/Data/Test.xml" "C:/Documents and Settings/user1/Desktop/Gateway/" --username user1 --verbose
It fails with the following message:
Opening guest session as user 'user1' ...
Waiting for guest session to start ...
Guest session (ID 1) has been started
Copying from host to guest ...
Directory "C:/Documents and Settings/user/Desktop/Gateway/" already exists
Source: C:/Test.xml
Copying "C:/Test.xml" to "C:/Documents and Settings/user1/Desktop/Gateway/" ...
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...
Progress state: VBOX_E_IPRT_ERROR
VBoxManage.exe: error: Copying file "C:/Test.xml" failed with status 500, exit code 1.
VBoxManage.exe: error: Error processing "C:/Test.xml", rc=VERR_GENERAL_FAILURE
Closing guest session ...
My host machine is running under Windows 7 and Guest on Windows XP SP3
Someone know what's the problem?
Thanks in advance
When I try to execute following command:
c:\Program Files\Oracle\VirtualBox>VBoxManage guestcontrol Gateway copyto "C:/Data/Test.xml" "C:/Documents and Settings/user1/Desktop/Gateway/" --username user1 --verbose
It fails with the following message:
Opening guest session as user 'user1' ...
Waiting for guest session to start ...
Guest session (ID 1) has been started
Copying from host to guest ...
Directory "C:/Documents and Settings/user/Desktop/Gateway/" already exists
Source: C:/Test.xml
Copying "C:/Test.xml" to "C:/Documents and Settings/user1/Desktop/Gateway/" ...
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...
Progress state: VBOX_E_IPRT_ERROR
VBoxManage.exe: error: Copying file "C:/Test.xml" failed with status 500, exit code 1.
VBoxManage.exe: error: Error processing "C:/Test.xml", rc=VERR_GENERAL_FAILURE
Closing guest session ...
My host machine is running under Windows 7 and Guest on Windows XP SP3
Someone know what's the problem?
Thanks in advance