Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Curl custom path #480

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

kornarakis
Copy link

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.

@Vinze
Copy link

Vinze commented Sep 26, 2019

I'm having the same problem on Windows. Since the latest Windows update git-ftp ignores my PATH variable and always uses the cURL version shipped with Windows. Because of this I get the 'SFTP not supported" error. It would be greatly appreciated if the cURL path will be made a variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants