Skip to content

Commit

Permalink
Merge remote-tracking branch 'ssvine/fix-upload-with-rename'
Browse files Browse the repository at this point in the history
* ssvine/fix-upload-with-rename:
  Return back the ability to change file names on upload
  • Loading branch information
michaellukashov committed May 28, 2024
2 parents 9f216e2 + 663abe6 commit f4391d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NetBox/WinSCPDialogs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5824,7 +5824,7 @@ bool TCopyDialog::Execute(UnicodeString & TargetDirectory,
UnicodeString NewTargetDirectory;
if (FToRemote)
{
// Params->SetFileMask(base::UnixExtractFileName(DirectoryEdit->GetText()));
Params->SetFileMask(base::UnixExtractFileName(DirectoryEdit->GetText()));
NewTargetDirectory = base::UnixExtractFilePath(DirectoryEdit->GetText());
if (!NewTargetDirectory.IsEmpty())
TargetDirectory = NewTargetDirectory;
Expand Down

0 comments on commit f4391d2

Please sign in to comment.