Browse Source

Bug 1389: File masks with time constraints do not work with remote WebDAV files

https://winscp.net/tracker/1389

Source commit: 04d40481efe92c405029db494219d40a7ebe9ec8
Martin Prikryl 10 years ago
parent
commit
fedaadffe0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      source/core/WebDAVFileSystem.cpp

+ 1 - 0
source/core/WebDAVFileSystem.cpp

@@ -1932,6 +1932,7 @@ void __fastcall TWebDAVFileSystem::Sink(const UnicodeString FileName,
   DebugAssert(File);
   TFileMasks::TParams MaskParams;
   MaskParams.Size = File->Size;
+  MaskParams.Modification = File->Modification;
 
   UnicodeString BaseFileName = FTerminal->GetBaseFileName(FileName);
   if (!CopyParam->AllowTransfer(BaseFileName, osRemote, File->IsDirectory, MaskParams))