Skip to content

Commit ad2deb7

Browse files
committed
fixed:webdav mkloc not create dir
1 parent 64d6401 commit ad2deb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

XEngine_Source/XEngine_StorageApp/StorageApp_Webdav.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ bool XEngine_Task_HttpWebdav(LPCXSTR lpszClientAddr, LPCXSTR lpszMsgBuffer, int
310310
_tcsxcpy(tszCreateDir, pSt_HTTPParam->tszHttpUri + 1);
311311
BaseLib_String_Replace(tszCreateDir, &nALen, st_StorageBucket.tszBuckKey, st_StorageBucket.tszFilePath, true);
312312

313+
SystemApi_File_CreateMutilFolder(tszCreateDir);
313314
st_HDRParam.nHttpCode = 201;
314315
HttpProtocol_Server_SendMsgEx(xhWebdavHttp, tszSDBuffer, &nSDLen, &st_HDRParam);
315316
XEngine_Net_SendMsg(lpszClientAddr, tszSDBuffer, nSDLen, STORAGE_NETTYPE_HTTPWEBDAV);

0 commit comments

Comments
 (0)