1
0
mirror of https://github.com/winscp/winscp.git synced 2026-10-24 02:28:55 +03:00
This commit is contained in:
Martin Prikryl
2013-09-16 14:43:13 +00:00
parent 1abb25b42b
commit 0b4c19ead3
169 changed files with 3666 additions and 5920 deletions

View File

@@ -2323,7 +2323,7 @@ void __fastcall TSCPFileSystem::SCPSink(const UnicodeString TargetDir,
if (!FileData.Exists)
{
FILE_OPERATION_LOOP (FMTLOAD(CREATE_DIR_ERROR, (DestFileName)),
if (!ForceDirectories(DestFileName)) RaiseLastOSError();
THROWOSIFFALSE(ForceDirectories(DestFileName));
);
/* SCP: can we set the timestamp for directories ? */
}