kgiszewski / UmbracoBookshelf

14 stars 10 forks source link

Issue with moving across volumes #11

Closed kgiszewski closed 9 years ago

kgiszewski commented 9 years ago

Source and destination path must have identical roots. Move will not work across volumes. System.IO.IOException: Source and destination path must have identical roots. Move will not work across volumes. at System.IO.Directory.InternalMove(String sourceDirName, String destDirName, Boolean checkHost) at UmbracoBookshelf.Controllers.UmbracoBookshelfController.DownloadUrl(String url) 2015-04-22 15:42:54,202 [63] ERROR System.Exception - [Thread 33] Source and destination path must have identical roots. Move will not work across volumes. System.IO.IOException: Source and destination path must have identical roots. Move will not work across volumes. at System.IO.Directory.InternalMove(String sourceDirName, String destDirName, Boolean checkHost) at UmbracoBookshelf.Controllers.UmbracoBookshelfController.DownloadUrl(String url)

At present a downloaded file is copied to the local temp directory then moved to the web root. Looks like maybe I'll have to copy to an alternate location that's on the same volume as the target directory.