VirtualBox

Ticket #11231 (new defect)

Opened 2 years ago

Last modified 4 months ago

Recursive copyto does not create folders and fall if it not exists on destination VM

Reported by: angelx Owned by:
Priority: major Component: guest control
Version: VirtualBox 4.2.4 Keywords: copyto recursive
Cc: Guest type: Windows
Host type: Windows

Description

I want to recursively copy files to a VM. But when copying occurs directory, an error occurs. In version 4.1.18 "--recursive" worked. But there were unexpected interruption when transferring files.

"C:\Program Files\Oracle\VirtualBox\vboxmanage.exe" guestcontrol "VM" copyto "c:\\AutoTest\\" "c:\\Test\\" --username "Administrator" --password "***" --verbose --recursive

Copying from host to guest ...
Directory "c:\\Test\" already exists
Source: C:\\AutoTest\
Processing host directory: C:\\AutoTest
File: Exchange.exe
Directory "c:\\Test\" already exists
Copying "C:\\AutoTest/Exchange.exe" to "c:\\Test\Exchange.exe" ...
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
File: ExchangeConfiguration.exe
Copying "C:\\AutoTest/ExchangeConfiguration.exe" to "c:\\Test\ExchangeConfiguration.exe" ...
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Directory: icons
Processing host directory: C:\\AutoTest/icons
File: about.png
VBoxManage.exe: error: Unable to retrieve requested information.
VBoxManage.exe: error: Error processing "C:\\AutoTest", rc=VERR_GENERAL_FAILURE
01:07:04.784606 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={57eb82a8-822b-42c1-9d1c-5c54bc3d3250} aComponent={GuestSession} aText={Unable to retrieve requested information}, preserve=false

Attachments

1-2012-11-23-16-43-03.log Download (58.9 KB) - added by angelx 2 years ago.
2013-2-4.log Download (7.2 KB) - added by Mick 2 years ago.

Change History

Changed 2 years ago by angelx

comment:1 Changed 2 years ago by Mick

Can confirm the same fault persists in 4.2.6

"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" guestcontrol xpsp3 copyto D:\bin\ C:\ --username user --password ppppppp --recursive --verbose
Copying from host to guest ...
Directory "C:\" already exists
Source: D:\bin\
Processing host directory: D:\bin
Directory: plugins
Processing host directory: D:\bin/plugins
File: New Text Document.txt
VBoxManage.exe: error: Unable to retrieve requested information.
VBoxManage.exe: error: Error processing "D:\bin", rc=VERR_GENERAL_FAILURE...

Changed 2 years ago by Mick

comment:2 Changed 2 years ago by Mick

Is this bug in due to the RT_FAILURE(vcr) check in the ctrlCopyDirCreate function at line VBoxManageGuestCtrl.cpp:1130?

Is anyone investigating this bug? Otherwise, I'll try chasing down a fix.

comment:3 Changed 4 months ago by jchatham

FYI, I've made a patch that fixes a variety of recursive copy issues - including this one. Posted it on the forums here:  https://forums.virtualbox.org/viewtopic.php?f=10&t=64285

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use