diff --git a/server/RdtClient.Service/Services/Downloaders/SymlinkDownloader.cs b/server/RdtClient.Service/Services/Downloaders/SymlinkDownloader.cs index 85ecef6..d730d74 100644 --- a/server/RdtClient.Service/Services/Downloaders/SymlinkDownloader.cs +++ b/server/RdtClient.Service/Services/Downloaders/SymlinkDownloader.cs @@ -80,7 +80,11 @@ public class SymlinkDownloader(String uri, String destinationPath, String path) _logger.Debug($"Searching {rcloneMountPath} for {fileName} (attempt #{retryCount})..."); - file = FindFile(rcloneMountPath, potentialFilePaths, fileName); + file = FindFile(rcloneMountPath, potentialFilePaths, ""); + if (file == null) + { + file = FindFile(rcloneMountPath, potentialFilePaths, fileName); + } if (file == null && searchSubDirectories) {