Choosable FTP Account List (Before Upload) #7279
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
So I gave ShareX a shot yesterday and was grateful it gave me a one-click solution to upload all kinds of files to FTP.
Unfortunately I was missing the Option to select an FTP Account in the 'before upload' window, so I added it. :)
It selects the FTP Account you selected for the current filetype by default.
It 'abuses' the
TaskSettings.OverrideFTP
setting but allowed for very few lines of code required for implementation.Also this mechanic could be made toggleable with a new
TaskSetting
but I'd assume most people prefer this by default over having only one FTP option and an hiddenOverrideFTP
setting.I started with creating
RadioButton
s per Account but migrated to a ComboBox for scalability, I tried putting it next to theRadioButton
but it messed with theFlowLayoutPanel
and/orRadioButton
Grouping.I've seen a few people wish for a feature like this so I thought I'd Share.
Originally posted by @bartico6 in #3992 (comment)