Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

Firefox does not delete the .part file from my download folder after a successful download

  • 1 baphendule
  • 54 zinale nkinga
  • 5 views
  • Igcine ukuphendulwa ngu Jon

more options

First off, I'm on a MacBook Pro, running 10.6.4 and FF3.6.12

I've recently noticed that on occasion Firefox does not seem to delete the .part file associated with a successful download. The .part file (with a name consisting of a string of random characters followed by a .part extension) is visible in my Download folder stack, although not visible in the actual folder view. I cannot drag this file from the stack to the trash.

The real problem stems from the fact that this seems to create a directory error on my hard drive. Were I to run Disk Utility (which I will have to do... again!), it would return with an error saying something like "incorrect block length", requiring me to boot up from my install disk and repair the drive.

Is this maybe a bug? Is there something I might be doing wrong? Could an extension like AdBlock be messing up my downloads?

First off, I'm on a MacBook Pro, running 10.6.4 and FF3.6.12 I've recently noticed that on occasion Firefox does not seem to delete the .part file associated with a successful download. The .part file (with a name consisting of a string of random characters followed by a .part extension) is visible in my Download folder stack, although not visible in the actual folder view. I cannot drag this file from the stack to the trash. The real problem stems from the fact that this seems to create a directory error on my hard drive. Were I to run Disk Utility (which I will have to do... again!), it would return with an error saying something like "incorrect block length", requiring me to boot up from my install disk and repair the drive. Is this maybe a bug? Is there something I might be doing wrong? Could an extension like AdBlock be messing up my downloads?

All Replies (1)

more options

It seems that FireFox leaves those partial download files if for any reason they get interrupted. It's possible to resume the download through various uninteresting means, but if you're like me, it gets filled up with files that I intentionally did not complete downloading.

If you're terminal-savvy, you can set up a script that cleans up old .part files. Here's what I've set in my crontab:

0 * * * * /usr/bin/find ~/Downloads/*.part -atime +1 -exec rm {} \; &> /dev/null

It will delete any files in my downloads folder that are at least 1 day old.

To install this in your crontab, launch terminal and type "crontab -e"

This will bring up a text editor, probably vi. You'll see a bunch of ~'s down the left side. Type "i" to go into "insert" mode. The bottom left will say "-- INSERT --"

Copy and paste (or type) the line of code I have above.

Hit enter just to make sure you have a newline at the end.

Hit "Escape" to exit the insert mode.

Hit Shift-Z Shift-Z (that's Shift-Z twice) to exit the editor.

You should see a status message "crontab: installing new crontab"

If you type "crontab -l" you should see your newly installed crontab.

At the top of the next hour, any .part files that are more than a day old should be deleted, and this should continue forever.