Problem of VBoxManage guestcontrol copyto ERROR!

Discussions related to using VirtualBox on Windows hosts.
Post Reply
neoruwata
Posts: 20
Joined: 22. Nov 2011, 08:02
Primary OS: MS Windows 7
VBox Version: OSE Fedora
Guest OSses: Windows 7

Problem of VBoxManage guestcontrol copyto ERROR!

Post by neoruwata »

Hi,

I want to copy files from Windows host to Linux guest, I've try with "VBoxManage guestcontrol copyto" then I've gotten the error when I run this command.

Code: Select all

VBoxManage guestcontrol "myVM" copyto "D:\tmp\conf" "/home/admin/conf" --username root --password "myrootpass" --follow --recursive --verbose
I got the error as below:

Code: Select all

        0%...
        Progress state: VBOX_E_IPRT_ERROR
        VBoxManage.exe: error: Client error 2332033140 while processing input data.
        VBoxManage.exeCopying from host to guest ...
        Creating directory "/home/admin/conf" ...
        Source: d:\tmp\conf\s.properties
        Co: error: Error processing "d:\tmp\conf\si.properties", rc=VERR_GENERAL_FAILURE
        pying "d:\tmp\conf\si.properties" to "/home/admin/conf\si.properties" ...
Could anybody help me for this problem ? Thanks.
Last edited by neoruwata on 25. Jan 2012, 12:19, edited 1 time in total.
neoruwata
Posts: 20
Joined: 22. Nov 2011, 08:02
Primary OS: MS Windows 7
VBox Version: OSE Fedora
Guest OSses: Windows 7

Re: Problem of VBoxManage guestcontrol copyto ERROR!

Post by neoruwata »

Code: Select all

VBoxManage.exe: error: Client error 2147483764 while processing input data.
:roll:
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Problem of VBoxManage guestcontrol copyto ERROR!

Post by mpack »

VirtualBox version? Are guest additions installed? And if so what version of the GAs? Does a file (not a folder) called "D:\Temp\Conf" actually exist on your host?
neoruwata
Posts: 20
Joined: 22. Nov 2011, 08:02
Primary OS: MS Windows 7
VBox Version: OSE Fedora
Guest OSses: Windows 7

Re: Problem of VBoxManage guestcontrol copyto ERROR!

Post by neoruwata »

I've uesd version 4.1.6 and the guest additions is already install. The file is exist and the path it is correct.
neoruwata
Posts: 20
Joined: 22. Nov 2011, 08:02
Primary OS: MS Windows 7
VBox Version: OSE Fedora
Guest OSses: Windows 7

Re: Problem of VBoxManage guestcontrol copyto ERROR!

Post by neoruwata »

I'd try to copy a file to my guest. It can copy but I got that error, it like the Windows host can not set permissions on the linux guest.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Problem of VBoxManage guestcontrol copyto ERROR!

Post by mpack »

neoruwata wrote:I'd try to copy a file to my guest. It can copy but I got that error, it like the Windows host can not set permissions on the linux guest.
That doesn't seem right to me - the error message says that the error occurred while processing the input data, which to me means a host problem. Most Windows host files have extensions, so my guess for the most likely host problem is that you have provided a folder name instead of a (potentially wildcarded) file name. Or, you have not supplied the proper extension for the file - perhaps because you have Windows set to hide the extension from you ("Hide extension for known file types" in folder options should IMHO be disabled to avoid confusion and also avoid the security threat that comes from not really knowing the file type).
neoruwata
Posts: 20
Joined: 22. Nov 2011, 08:02
Primary OS: MS Windows 7
VBox Version: OSE Fedora
Guest OSses: Windows 7

Re: Problem of VBoxManage guestcontrol copyto ERROR!

Post by neoruwata »

I try the sources is:

d:\tmp\conf\configure.properties, I can copy the file but I still got the error, the permission of the file is owner READ/WRITE . Why ?

Code: Select all

Copying from host to guest ...
Creating directory "/home/admin/output" ...
Source: D:\tmp\conf\configure.properties
Copying "D:\tmp\conf\configure.properties" to "/home/admin/output\configure.properties" ...
0%...
Progress state: VBOX_E_IPRT_ERROR
VBoxManage.exe: error: Client error 2147483764 while processing input data.
VBoxManage.exe: error: Error processing "D:\tmp\conf\configure.properties", rc=VERR_GENERAL_FAILURE
d:\tmp\conf\*.properties

Code: Select all

Copying from host to guest ...
Creating directory "/home/admin/output" ...
Source: D:\tmp\conf
VBoxManage.exe: error: Warning: Source "D:\tmp\conf" does not exist, skipping!
d:\tmp\conf

Code: Select all

Copying from host to guest ...
Creating directory "/home/admin/output" ...
Source: D:\tmp\conf
VBoxManage.exe: error: Warning: Source "D:\tmp\conf" does not exist, skipping!
Do you have any suggestion ?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Problem of VBoxManage guestcontrol copyto ERROR!

Post by mpack »

neoruwata wrote:Do you have any suggestion ?
I can't really add to the general directional hints I've given above. I'm not there to check the contents of those folders to see that the file you want actually exists. It's up to you to do that. "configure.properties" would be an unsually verbose file extension on Windows - and who stores stuff in a folder called "D:\tmp" anyway? ... but like I said, I'm not there to investigate those questions.
TalJerome
Posts: 1
Joined: 26. Aug 2013, 12:08

Re: Problem of VBoxManage guestcontrol copyto ERROR!

Post by TalJerome »

neoruwata wrote:

Code: Select all

Copying from host to guest ...
Creating directory "/home/admin/output" ...
Source: D:\tmp\conf
VBoxManage.exe: error: Warning: Source "D:\tmp\conf" does not exist, skipping!
This is because it seems to consider anything that doesn't end with a slash/backslash as a file and not a folder and the FILE d:\tmp\conf doesn't exist.
I'm having the same problems on virtualbox 4.2.16.r86992 under windows 8.
It's really annoying, only copying a file works. If you try to use wildcards or --recursive you get weird errors.
Post Reply