mirror of
https://github.com/winscp/winscp.git
synced 2026-10-24 02:28:55 +03:00
5.2.4
This commit is contained in:
@@ -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 ? */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user