PM_ME_YOUR_FELINE | 5 points
Hi.
I was downloading a set of files with MegaDownloader, and I got an error about the length of the filename/folder name being too long.
File download failed.
* File code: N?4s9XCQDC
* Error type: An error occurred while trying to download the file.
* Server response:
* Internal info: System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
at System.IO.PathHelper.GetFullPathName()
at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.File.Create(String path, Int32 bufferSize, FileOptions options)
at MegaDownloader.FileDownloader.downloadFile()
I've tried to change the name of the file or folder, but there is no way to change it, if you go into properties, the Textbox is uneditable.
what can I do?
Thank you.
Basically, you're trying to save it too far away in a folder. Similarly if you were to save a file under C:/folder/folder/folder/folder/folder/folder/folder/folder/folder/folder/folder/folder/folder/folder/folder/folder/folder/folder/file.txt it wouldn't work.
Shorten your file paths. i.e. C;/MegaDownloads/SaveShitHere.txt
[-] PM_ME_YOUR_FELINE | 2 points
Oh! Thanks! It is under a lot of folders
[-] sheko404 | 2 points | Dec 14 2016 11:07:03
i had this happen to me i think. basically a file path cant be more than 255 (?) characters long. maybe try changing your download path to just C: for this one file? then when its completed you can change it back, and rename the file into a smaller titel.
permalink