diff --git a/FFMpegCore.Extensions.Downloader/Services/FFbinariesService.cs b/FFMpegCore.Extensions.Downloader/Services/FFbinariesService.cs
index 479d264..9e46db3 100644
--- a/FFMpegCore.Extensions.Downloader/Services/FFbinariesService.cs
+++ b/FFMpegCore.Extensions.Downloader/Services/FFbinariesService.cs
@@ -55,6 +55,11 @@ internal class FFbinariesService
///
internal static IEnumerable ExtractZipAndSave(Stream zipStream)
{
+ if (string.IsNullOrEmpty(GlobalFFOptions.Current.BinaryFolder))
+ {
+ throw new FFMpegDownloaderException("Binary folder not specified");
+ }
+
using var archive = new ZipArchive(zipStream, ZipArchiveMode.Read);
List files = new();
foreach (var entry in archive.Entries)