﻿id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host
18724,VBox 5.2.x: VBoxManage copyto --target-directory now requires an ending slash for guests => fixed in 5.2.x x>32,kboortz,BP,"The ""VBoxManage copyto"" destination directory given to ""--target-directory"" for a Windows guest now requires an ending slash. I assume this is not an intentional change.

The error message when leaving out the ending slash in the destination ""C:/tmp"" is

VBoxManage: error: File copy failed
VBoxManage: error: Copying file ""/tmp/foo"" to guest failed: VERR_ACCESS_DENIED
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestSessionWrap, interface IGuestSession
VBoxManage: error: Context: ""int gctlCopyFileToDest(COPYCONTEXT*, const char*, const char*, gctlCopyFlags)"" at line 2176 of file VBoxManageGuestCtrl.cpp
VBoxManage: error: Copying file ""/tmp/foo"" to guest failed: VERR_ACCESS_DENIED.
VBoxManage: error: Error processing ""/tmp/foo"", rc=VERR_GENERAL_FAILURE
",defect,closed,other,VirtualBox 5.2.30,fixed,VBoxManage copyto target-directory,,Windows,Solaris
