Skip to main content
Inspiring
December 17, 2014
Answered

why FileUtils::CopyFile doesn't work with blank space?

  • December 17, 2014
  • 1 reply
  • 529 views

Hi all,

If I have a destination directory with blank space inside, looks like: "C:\Users\Pattrick James\Documents" for Windows or "Macintosh HD:Users:Pattrick James:Documents" for Mac.

Then I want to copy a file to that directory, use FileUtils::CopyFile(src, des). Why it doesn't work?

Can someone please help me to resolve this issue without change my path?

This topic has been closed for replies.
Correct answer toan minh

Sorry, it works fine. It happens because the permission of the directory.

1 reply

toan minhAuthorCorrect answer
Inspiring
December 17, 2014

Sorry, it works fine. It happens because the permission of the directory.