Last active
January 14, 2022 12:01
-
-
Save TheStaticTurtle/c1682fcb50a318991b6d6bbc6dbaa3df to your computer and use it in GitHub Desktop.
FileZilla patch to increase the ridiculous 10 simultaneous connections limit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff settings/optionspage_transfer.cpp settings/optionspage_transfer.cpp | |
52,53c52,54 | |
< impl_->transfers_->SetRange(1, 10); | |
< impl_->transfers_->SetMaxLength(2); | |
--- | |
> #warning Here | |
> impl_->transfers_->SetRange(1, 500); | |
> impl_->transfers_->SetMaxLength(3); | |
55c56 | |
< inner->Add(new wxStaticText(box, nullID, _("(1-10)")), lay.valign); | |
--- | |
> inner->Add(new wxStaticText(box, nullID, _("(1-500)")), lay.valign); | |
58,59c59,61 | |
< impl_->downloads_->SetRange(0, 10); | |
< impl_->downloads_->SetMaxLength(2); | |
--- | |
> impl_->downloads_->SetRange(0, 500); | |
> #warning Here | |
> impl_->downloads_->SetMaxLength(3); | |
64,65c66,68 | |
< impl_->uploads_->SetRange(0, 10); | |
< impl_->uploads_->SetMaxLength(2); | |
--- | |
> #warning Here | |
> impl_->uploads_->SetRange(0, 500); | |
> impl_->uploads_->SetMaxLength(3); | |
186c189,190 | |
< if (impl_->transfers_->GetValue() < 1 || impl_->transfers_->GetValue() > 10) { | |
--- | |
> #warning Here | |
> if (impl_->transfers_->GetValue() < 1 || impl_->transfers_->GetValue() > 500) { | |
190c194,195 | |
< if (impl_->downloads_->GetValue() < 0 || impl_->downloads_->GetValue() > 10) { | |
--- | |
> #warning Here | |
> if (impl_->downloads_->GetValue() < 0 || impl_->downloads_->GetValue() > 500) { | |
194c199,200 | |
< if (impl_->uploads_->GetValue() < 0 || impl_->uploads_->GetValue() > 10) { | |
--- | |
> #warning Here | |
> if (impl_->uploads_->GetValue() < 0 || impl_->uploads_->GetValue() > 500) { | |
diff aboutdialog.cpp aboutdialog.cpp | |
38a39 | |
> version += L" (MultiConnection patch)"; | |
40c41,42 | |
< topRight->Add(new wxStaticText(this, -1, L"Copyright (C) 2004-2021 Tim Kosse")); | |
--- | |
> topRight->Add(new wxStaticText(this, -1, L"Copyright (C) 2004-2021 - Tim Kosse")); | |
> topRight->Add(new wxStaticText(this, -1, L"MultiConnection patch - TheStaticTurtle")); | |
45a48,52 | |
> | |
> auto thestaticturtle = lay.createFlex(2); | |
> thestaticturtle->Add(new wxStaticText(this, -1, _("TheStaticTurtle:")), lay.valign); | |
> thestaticturtle->Add(new wxHyperlinkCtrl(this, -1, L"https://thestaticturtle.fr/", L"https://thestaticturtle.fr/"), lay.valign); | |
> topRight->Add(thestaticturtle); | |
diff Mainfrm.cpp Mainfrm.cpp | |
210c210 | |
< m_pMainFrame->SetTitle(_T("FileZilla")); | |
--- | |
> m_pMainFrame->SetTitle(_T("FileZilla (MultiConnection Patch)")); | |
213c213 | |
< m_pMainFrame->SetTitle(pState->GetTitle() + _T(" - FileZilla")); | |
--- | |
> m_pMainFrame->SetTitle(pState->GetTitle() + _T(" - FileZilla (MultiConnection Patch))")); | |
244c244 | |
< m_pMainFrame->SetTitle(_T("FileZilla")); | |
--- | |
> m_pMainFrame->SetTitle(_T("FileZilla (MultiConnection Patch)")); | |
247c247 | |
< m_pMainFrame->SetTitle(pState->GetTitle() + _T(" - FileZilla")); | |
--- | |
> m_pMainFrame->SetTitle(pState->GetTitle() + _T(" - FileZilla (MultiConnection Patch)")); | |
diff Options.cpp Options.cpp | |
44c44 | |
< { "Number of Transfers", 2, option_flags::numeric_clamp, 1, 10 }, | |
--- | |
> { "Number of Transfers", 2, option_flags::numeric_clamp, 1, 500 }, | |
50,51c50,51 | |
< { "Concurrent download limit", 0, option_flags::numeric_clamp, 0, 10 }, | |
< { "Concurrent upload limit", 0, option_flags::numeric_clamp, 0, 10 }, | |
--- | |
> { "Concurrent download limit", 0, option_flags::numeric_clamp, 0, 500 }, | |
> { "Concurrent upload limit", 0, option_flags::numeric_clamp, 0, 500 }, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment