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.
Feature
I would like to recommend a new option / feature in git-ftp.
It could be nice if we had an option to pass the curl path. As an option or even better in config file.
My Scenario
I had some issues with sftp and curl in windows using git-ftp.
I was using windows 10 curl and I didn't want to mess around with the one that come with windows installation, also I couldn't set the a custom downloaded curl as the default via environment variables path.
Dirty / temp workaround
So, I download curl from the official website and I change the git-ftp file by adding an new variable
CURL_PATH="the_path_to_the_downloaded_curl_exe"
and then I replace all the curl commands in the file with my new variable
${CURL_PATH}
.I know that using linux / osx it's easy to configure curl as you want, but with Windows things are different.