Page 1 of 1

Sabnzbd deletes .gz files

Posted: July 4th, 2022, 8:03 am
by joinertek
I occasionally need to download a .gz file for something unrelated to Usenet. Sabnzbd seems to be opening the file, determining it's not a valid nzb file, then deleting it. Is there a way to disable this behavior for .gz files? I can't find it in the configuration pages or switches.

Thanks

Re: Sabnzbd deletes .gz files

Posted: July 4th, 2022, 8:45 am
by sander
On Windows? It must be a file extension association. So ... google "Remove File Type Association"?

I haven't got Windows, so I can't try nor recommand a page.

Re: Sabnzbd deletes .gz files

Posted: July 5th, 2022, 1:04 am
by safihre
Exactly when is it deleting it? After it has downloaded the file from usenet?
It might just be in your Cleanup List in Config Switches.

Re: Sabnzbd deletes .gz files

Posted: August 3rd, 2022, 8:37 pm
by deadlazlo
I'm seeing this as well on my Mac. In my case, when SABnzbd (3.6.0 [b31fedd]) is running, it will delete ANY .bz2 or .gz file - no matter how they end up in the watched/Downloads folder. (downloaded from the web, or even just copied there in the Finder) It's not a file association issue as these are linked to the built-in Archive Utility app.

I also don't see anything in the Switches section that would allow me to stop this behavior, at least for those 2 compression formats. Thoughts on where to look?

Re: Sabnzbd deletes .gz files

Posted: August 4th, 2022, 12:51 pm
by safihre
Yes, if it's in the Watched folder that's what it will do.

Re: Sabnzbd deletes .gz files

Posted: August 5th, 2022, 1:46 am
by deadlazlo
Any way to change that behavior? Handling NZBs is one thing, but deleting gzip or bzip files falls on the bad side of behaviors if there's no way to tell it to stop that.

Re: Sabnzbd deletes .gz files

Posted: August 5th, 2022, 1:57 am
by sander
deadlazlo wrote: August 5th, 2022, 1:46 am Any way to change that behavior?
By setting SAB's watch folder to something unique. Not to your Download folder.

Re: Sabnzbd deletes .gz files

Posted: August 5th, 2022, 1:56 pm
by safihre
Exactly!
Because every time we need to check all the files in the Watched folder to see if they are new and potential NZB files. So it's also bad for performance to set it to some general folder that you have other stuff in.

Re: Sabnzbd deletes .gz files

Posted: August 6th, 2022, 2:57 pm
by deadlazlo
Not ideal, but I can probably change some workflows to deal with it.
Thanks