Skip to content

Commit

Permalink
Merge remote-tracking branch 'ssvine/fix-sftp-resume'
Browse files Browse the repository at this point in the history
  • Loading branch information
michaellukashov committed Apr 2, 2024
2 parents f5c1e2f + 8210d60 commit 088a48b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/SftpFileSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4828,6 +4828,7 @@ void TSFTPFileSystem::Source(
FTerminal->LogEvent("Checking existence of partially transferred file.");
if (RemoteFileExists(DestPartialFullName, &File))
{
FilePtr.reset(File);
ResumeOffset = FilePtr->Resolve()->GetSize(); // Though partial file should not be symlink
#if defined(__BORLANDC__)
delete File;
Expand Down

0 comments on commit 088a48b

Please sign in to comment.