PatreonDownloader icon indicating copy to clipboard operation
PatreonDownloader copied to clipboard

ERROR Failed to download.... Inner Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path

Open qqwik opened this issue 1 year ago • 1 comments

The downloader works great on several creator accounts but i've found that somehow always causes an error and im unable to download. Double and triple checked - have no problems with all other patreons but this one. Not a single one of the posts is geting saved, all end in error. Would appreciate any help.

ERROR Failed to download https://c10.patreonusercontent.com/4/patreon-media/p/post/56678008/adbafad10f4e425798e667c61c781036/eyJwIjoxfQ%3D%3D/1.jpg?token-time=1684195200&token-hash=Xnchn4SWc7tqjJ-jgbvDw7NGeWbGqzxGXj-eQ-xq4aw%3D: Error while downloading https://c10.patreonusercontent.com/4/patreon-media/p/post/56678008/adbafad10f4e425798e667c61c781036/eyJwIjoxfQ%3D%3D/1.jpg?token-time=1684195200&token-hash=Xnchn4SWc7tqjJ-jgbvDw7NGeWbGqzxGXj-eQ-xq4aw%3D: Unable to download from https://c10.patreonusercontent.com/4/patreon-media/p/post/56678008/adbafad10f4e425798e667c61c781036/eyJwIjoxfQ%3D%3D/1.jpg?token-time=1684195200&token-hash=Xnchn4SWc7tqjJ-jgbvDw7NGeWbGqzxGXj-eQ-xq4aw%3D: Could not find a part of the path 'C:\Users\user\Downloads\net6.0-win-x64-release\download\KiraShion \56678008_post_Kaeluc_1.jpg.dwnldtmp'.. Inner Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\user\Downloads\net6.0-win-x64-release\download\KiraShion \56678008_post_Kaeluc_1.jpg.dwnldtmp'. at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at UniversalDownloaderPlatform.DefaultImplementations.WebDownloader.DownloadFileInternal(String url, String path, String refererUrl, Int32 retry, Int32 retryTooManyRequests) in F:\Sources\BigProjects\PatreonDownloader\submodules\UniversalDownloaderPlatform\UniversalDownloaderPlatform.DefaultImplementations\WebDownloader.cs:line 287

qqwik avatar May 01 '23 14:05 qqwik

I also meet this problem and solve it. The error takes place in \KiraShion \,windows system file directory don't support end by a space,so you can't create the directory like '\KiraShion ',you should use this command,and #directory# is a directory without a space in the end: PatreonDownloader.App.exe --download-directort #directory# --url #page url#

xduQuzhen avatar May 22 '23 04:05 xduQuzhen