-fixed: locking and office upload
This commit is contained in:
parent
387a4f8b34
commit
43d08f5b1f
|
@ -97,13 +97,13 @@ namespace WebDAVSharp.Server.MethodHandlers {
|
|||
|
||||
// Get the parent collection of the item
|
||||
IWebDavStoreCollection collection = GetParentCollection(server, store, fileName);
|
||||
|
||||
String fileNameLocal = ExtractFileName(fileName);
|
||||
try {
|
||||
// Get the item from the collection
|
||||
IWebDavStoreItem item = GetItemFromCollection(collection, fileName);
|
||||
IWebDavStoreItem item = GetItemFromCollection(collection, fileNameLocal);
|
||||
}
|
||||
catch (Exception) {
|
||||
collection.CreateDocument(fileName);
|
||||
collection.CreateDocument(fileNameLocal);
|
||||
isNew = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue