VirtualBox

Ignore:
Timestamp:
Nov 6, 2022 5:16:58 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154430
Message:

Guest Control/Main: Log correct guest paths in GuestSessionTask::fileCopyToGuest(). ​bugref:10286

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp

    r97417 r97425  
    786786
    787787/**
    788  * Copies a file from the guest to the host.
     788 * Copies a file from the host to the guest.
    789789 *
    790  * @param  strSrc               Full path of source file on the host to copy.
    791  * @param  strDst               Full destination path and file name (guest style) to copy file to.
     790 * @param  strSrc               Full path of source file on the host.
     791 * @param  strDst               Full destination path and file name (guest style) to copy file to. Guest-path style.
    792792 * @param  fFileCopyFlags       File copy flags.
    793793 */
     
    811811    {
    812812        if (vrc == VERR_GSTCTL_GUEST_ERROR)
    813             setProgressErrorMsg(VBOX_E_IPRT_ERROR, tr("Guest file could not be opened"),
    814                                 GuestErrorInfo(GuestErrorInfo::Type_File, vrcGuest, strSrc.c_str()));
     813            setProgressErrorMsg(VBOX_E_IPRT_ERROR, tr("Guest file \"%s\" could not be created or replaced"),
     814                                GuestErrorInfo(GuestErrorInfo::Type_File, vrcGuest, strDst.c_str()));
    815815        else
    816816            setProgressErrorMsg(VBOX_E_IPRT_ERROR,
    817                                 Utf8StrFmt(tr("Guest file \"%s\" could not be opened: %Rrc"), strSrc.c_str(), vrc));
     817                                Utf8StrFmt(tr("Guest file \"%s\" could not be created or replaced: %Rrc"), strDst.c_str(), vrc));
    818818        return vrc;
    819819    }
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette