From 6a8b94b0c795b42aa894136445996df4557e8387 Mon Sep 17 00:00:00 2001 From: Bond_009 Date: Thu, 3 Jan 2019 21:54:59 +0100 Subject: Remove SMB support This doesn't mean you can't use an SMB share to store your files for Jellyfin. You will just have to connect to it on the OS level. --- .../IO/SharpCifs/Util/Sharpen/FileOutputStream.cs | 33 ---------------------- 1 file changed, 33 deletions(-) delete mode 100644 Emby.Server.Implementations/IO/SharpCifs/Util/Sharpen/FileOutputStream.cs (limited to 'Emby.Server.Implementations/IO/SharpCifs/Util/Sharpen/FileOutputStream.cs') diff --git a/Emby.Server.Implementations/IO/SharpCifs/Util/Sharpen/FileOutputStream.cs b/Emby.Server.Implementations/IO/SharpCifs/Util/Sharpen/FileOutputStream.cs deleted file mode 100644 index bf8029488..000000000 --- a/Emby.Server.Implementations/IO/SharpCifs/Util/Sharpen/FileOutputStream.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System.IO; - -namespace SharpCifs.Util.Sharpen -{ - internal class FileOutputStream : OutputStream - { - public FileOutputStream (FilePath file): this (file.GetPath (), false) - { - } - - public FileOutputStream (string file): this (file, false) - { - } - - public FileOutputStream (FilePath file, bool append) : this(file.GetPath (), append) - { - } - - public FileOutputStream (string file, bool append) - { - try { - if (append) { - Wrapped = File.Open (file, FileMode.Append, FileAccess.Write); - } else { - Wrapped = File.Open (file, FileMode.Create, FileAccess.Write); - } - } catch (DirectoryNotFoundException) { - throw new FileNotFoundException ("File not found: " + file); - } - } - - } -} -- cgit v1.2.3