copyto don't work on VirtualBox 5.0

This is for discussing general topics about how to use VirtualBox.
Post Reply
MichaelWang
Posts: 1
Joined: 10. Aug 2015, 10:36

copyto don't work on VirtualBox 5.0

Post by MichaelWang »

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 and both host and client are Windows 7 SP1 64-bit.

When I using below command, the VBoxManage always claimed "No destination specified!":

Code: Select all

VBoxManage.exe guestcontrol "Windows 7 (x64)" --username "Michael" --password "test" copyto "E:\Downloads\a.txt" "C:\temp"
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!

If I change the command to below, the command terminated successful but no file copied to the host folder.
VBoxManage.exe guestcontrol "Windows 7 (x64)" --username "Michael" --password "test" copyto "E:\Downloads\a.txt" --target-directory "C:\temp"
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!
Magnus Madsen
Posts: 22
Joined: 11. Jun 2013, 08:35
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: WinXP, WinVista, Win7, Win8

Re: copyto don't work on VirtualBox 5.0

Post by Magnus Madsen »

Hi Michael,

There is an error in VB 5.0 that prevents copyto and copyfrom from working - unfortunately it is still not fixed in 5.0.8.
This ticket concerns it: https://www.virtualbox.org/ticket/14336
Post Reply