diff --git a/server/RdtClient.Service/Helpers/DownloadHelper.cs b/server/RdtClient.Service/Helpers/DownloadHelper.cs index 0c9a1c4b..94d15831 100644 --- a/server/RdtClient.Service/Helpers/DownloadHelper.cs +++ b/server/RdtClient.Service/Helpers/DownloadHelper.cs @@ -1,4 +1,5 @@ using System.Web; +using RdtClient.Data.Enums; using RdtClient.Data.Models.Data; namespace RdtClient.Service.Helpers; @@ -41,7 +42,7 @@ public static class DownloadHelper } } - if (!Directory.Exists(torrentPath)) + if (torrent.DownloadClient != DownloadClient.Symlink && !Directory.Exists(torrentPath)) { Directory.CreateDirectory(torrentPath); } @@ -85,7 +86,7 @@ public static class DownloadHelper } } - if (!Directory.Exists(torrentPath)) + if (torrent.DownloadClient != DownloadClient.Symlink && !Directory.Exists(torrentPath)) { Directory.CreateDirectory(torrentPath); }