Released windows auth, connect to ES.Services.
This commit is contained in:
parent
2569e55609
commit
d29c347ff4
294 changed files with 329583 additions and 2315 deletions
|
@ -0,0 +1,53 @@
|
|||
using System.IO;
|
||||
|
||||
namespace WebsitePanel.WebDav.Core
|
||||
{
|
||||
namespace Client
|
||||
{
|
||||
public interface IResumableUpload
|
||||
{
|
||||
void CancelUpload();
|
||||
void CancelUpload(string lockToken);
|
||||
long GetBytesUploaded();
|
||||
Stream GetWriteStream(long startIndex, long contentLength, long resourceTotalSize);
|
||||
Stream GetWriteStream(long startIndex, long contentLength, long resourceTotalSize, string contentType);
|
||||
|
||||
Stream GetWriteStream(long startIndex, long contentLength, long resourceTotalSize, string contentType,
|
||||
string lockToken);
|
||||
}
|
||||
|
||||
public class WebDavResumableUpload
|
||||
{
|
||||
private long _bytesUploaded = 0;
|
||||
|
||||
public void CancelUpload()
|
||||
{
|
||||
}
|
||||
|
||||
public void CancelUpload(string lockToken)
|
||||
{
|
||||
}
|
||||
|
||||
public long GetBytesUploaded()
|
||||
{
|
||||
return _bytesUploaded;
|
||||
}
|
||||
|
||||
public Stream GetWriteStream(long startIndex, long contentLength, long resourceTotalSize)
|
||||
{
|
||||
return new MemoryStream();
|
||||
}
|
||||
|
||||
public Stream GetWriteStream(long startIndex, long contentLength, long resourceTotalSize, string contentType)
|
||||
{
|
||||
return new MemoryStream();
|
||||
}
|
||||
|
||||
public Stream GetWriteStream(long startIndex, long contentLength, long resourceTotalSize, string contentType,
|
||||
string lockToken)
|
||||
{
|
||||
return new MemoryStream();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue