copyto don't work on VirtualBox 5.0
Posted: 19. May 2016, 13:50
Hi,
I read the user manual and try using sub-command "copyto" to copy file from host to guest. I'm using VirtualBox 5.0.2 and the host ist Linux and guest is Windows 7 SP1 64-bit.
When I using below command, the VBoxManage always claimed "No destination specified!":
If I change the command to below, the command terminated successful but no file copied to the host folder.
Dose the command is correct? if so, why the file can't copied to the guest?
I've searched on google but no related found, so I asked here. Thanks very much!
I read the user manual and try using sub-command "copyto" to copy file from host to guest. I'm using VirtualBox 5.0.2 and the host ist Linux and guest is Windows 7 SP1 64-bit.
When I using below command, the VBoxManage always claimed "No destination specified!":
Code: Select all
VBoxManage guestcontrol "8bc802ab-56af-439f-81fb-a9862cb31f66" copyto /home/alex/Daten/$dat c:\Data --username a --password a
Usage:
VBoxManage guestcontrol <uuid|vmname> [--verbose|-v] [--quiet|-q]
[--username <name>] [--domain <domain>]
[--passwordfile <file> | --password <password>]
copyto [common-options]
[--dryrun] [--follow] [-R|--recursive]
<host-src0> [host-src1 [...]] <guest-dst>
copyto [common-options]
[--dryrun] [--follow] [-R|--recursive]
[--target-directory <guest-dst>]
<host-src0> [host-src1 [...]]
Syntax error: No destination specified!
VBoxManage guestcontrol "8bc802ab-56af-439f-81fb-a9862cb31f66" copyto /home/alex/Daten/$dat --target-directory c:\Data --username alex --password alexander
Dose the command is correct? if so, why the file can't copied to the guest?
I've searched on google but no related found, so I asked here. Thanks very much!