VirtualBox

Changeset 71510 in vbox


Ignore:
Timestamp:
Mar 26, 2018 12:38:31 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
121483
Message:

Guest Control/Main: Fixed source path handling in SessionTaskCopyFileTo::Run().

File:
1 edited

Legend:

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

    r71345 r71510  
    13901390    }
    13911391
    1392     const char *pszFileName = RTPathFilename(mSource.c_str());
     1392    const char *pszFileName = mSource.c_str();
    13931393
    13941394    if (   !pszFileName
    13951395        || !RTFileExists(pszFileName))
    13961396    {
    1397         setProgressErrorMsg(VBOX_E_IPRT_ERROR, Utf8StrFmt(GuestSession::tr("Source file not valid or does not exist")));
     1397        setProgressErrorMsg(VBOX_E_IPRT_ERROR,
     1398                            Utf8StrFmt(GuestSession::tr("Source file \"%s\" not valid or does not exist"), pszFileName));
    13981399        return VERR_FILE_NOT_FOUND;
    13991400    }
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