using System.Collections.Generic; using System.IO; using System.Web; using WebsitePanel.WebDav.Core.Client; namespace WebsitePanel.WebDav.Core.Interfaces.Managers { public interface IWebDavManager { IEnumerable OpenFolder(string path); bool IsFile(string path); bool FileExist(string path); byte[] GetFileBytes(string path); void UploadFile(string path, HttpPostedFileBase file); void UploadFile(string path, byte[] bytes); void UploadFile(string path, Stream stream); IResource GetResource(string path); string GetFileUrl(string path); void DeleteResource(string path); void LockFile(string path); } }