Downloading pdf file returns error popup - [filename].part could not be saved, because an unknown error occurred. Try saving to a different location.
Version 127.0.2 for linux. Opening a direct link to a pdf file gives the error --- Downloading [file].pdf.part (header) [...].pdf.part could not be saved, because an unknown error occurred. Try saving to a different location. --- The file name is 144 characters long including spaces. I don't have any technical browser experience so I'll put what I know. These are the headers HTTP/1.1 200 OK Server: nginx Date: Fri, 28 Jun 2024 03:52:54 GMT Content-Type: application/octet-stream Content-Length: 4841076 Connection: keep-alive ETag: "65a096a5-49de74" Accept-Ranges: bytes Content-Disposition: attachment; filename="[144 char long filename].pdf" Everything seems okay. When I click on the link instead of opening as Save As, which I think it should, it immediately gives me that error. I have the ask me where to save thing checked. My home directory is ecryptfs. Ecryptfs says it has a max file name of 143 characters. Mine stops working after 140 characters or 144 including ".pdf". Anyways I think the file name breaks my file system. I was trying to download two pdfs. This is another one I tried to download earlier that gave me the error. It's definitely above the characters my file system can handle. https://download.library.lol/main/2860000/6148479dea7d8c9661201ecfc6108525/Alexander%20Brown%20-%20The%20genesis%20of%20the%20United%20States_%20a%20narrative%20of%20the%20movement%20in%20England%2C%201605-1616%2C%20which%20resulted%20in%20the%20plantation%20of%20North%20America%20by%20Englishmen%2C%20disclosing%20the%20contest%20between%20E.pdf It's public domain from the 1800s. I don't pirate. I was able to download it with wget while choosing a shorter filename. I don't know why it wouldn't let me choose after clicking the link. [solved] I have a few more problems I'd like to put in this ticket. A. After giving me the error Firefox crashed immediately afterwards. This was a few days ago. Firefox has never crashed like that before in months. I don't remember exactly what happened but it did crash. If crash logs are needed I can find it. B. After attempting to downloading a video (mp4) file this happened. The mp4 file didn't show up anywhere but a -1 byte part file showed up. It took the name of a subfolder in the folder I had intended to download the image file. I'll explain it in further detail below. I attempted to download an image in /home/user/Documents. In the Documents folder I had another folder which I'll call example. So /Documents/example. I did save the video in Documents but I don't think that mattered. After closing the save as box that popped up after clicking save video I noticed the weird file show up in the Downloads tab. It showed up in the "example" folder and took the name "example".part. Remember I never chose the "example" folder but I did choose the Documents folder. All my files inside the "example" folder broke and I couldn't delete the weird part file. Clicking properties showed the permissions could not be determined. When I interacted with it (I think I tried deleting it) it gave me an error with "gvfsd-admin daemon". I don't remember what it said exactly. I applied my folder's permissions to its contents and I was able to delete it. It doesn't show up in my downloads manager now. I ran clamav and everything was fine. Note I downloaded the video from a trusted source, twimg or the twitter video host. That's all. I'm almost certain it's due to the filename length. Cancel that. I didn't realize the "Applications" thing did that. I'd suggest to override the "Applications" preference if an error saving occurs. I'd still like to ask about A and B though.
由 stver 於