VirtualBox

Opened 11 years ago

Last modified 9 years ago

#11231 new defect

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

Reported by: angelx Owned by:
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 (2)

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

Download all attachments as: .zip

Change History (5)

by angelx, 11 years ago

Attachment: 1-2012-11-23-16-43-03.log added

comment:1 by Mick, 11 years ago

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...

by Mick, 11 years ago

Attachment: 2013-2-4.log added

comment:2 by Mick, 11 years ago

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 by jchatham, 9 years ago

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.

© 2023 Oracle
ContactPrivacy policyTerms of Use