Opened 12 years ago
Last modified 10 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)
Change History (5)
by , 12 years ago
Attachment: | 1-2012-11-23-16-43-03.log added |
---|
comment:1 by , 12 years ago
by , 12 years ago
Attachment: | 2013-2-4.log added |
---|
comment:2 by , 12 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 , 10 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
Can confirm the same fault persists in 4.2.6