Open timwegenerDE opened 6 months ago
After changing all 12 calls from curl
to /opt/homebrew/opt/curl/bin/curl
it's working. So it would be great to have an Option for setting the curl path. Also the documentation for sftp could be updated for installing curl just by brew install curl
.
After changing all 12 calls from
curl
to/opt/homebrew/opt/curl/bin/curl
it's working.
If you add homebrew curl to your path like it suggests after installation it works fine:
echo 'export PATH="/opt/homebrew/opt/curl/bin:$PATH"' >> ~/.zshrc
For more instructions: brew info curl
Thanks @mminglis, I already added curl to my ~/.zshrc. Connecting to an sftp directly via curl is working from zsh. However using git-ftp in the same terminal session throw sftp not supported.
Hi there,
after upgrading to a Mac with M-Chip I'm unable to get sftp working again. I'm on version 1.6.0 of git-ftp and MacOS 14.4.1.
Homebrew was uninstalled (x86 / x64 Intel) and reinstalled for arm64. The installation of curl as provided in the documentation failed because configure with "--with-ssl" didn't work for me anymore.
However I installed it by "brew install curl" what seems to provide sftp already:
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Also libssh and openssl where included:OpenSSL/3.2.1 zlib/1.2.12 brotli/1.1.0 zstd/1.5.6 libidn2/2.3.7 libssh2/1.11.0 nghttp2/1.60.0 librtmp/2.3 OpenLDAP/2.6.7
FTP-Upload is working without any problem. And also connecting via cURL to SFTP directly from the terminal is working.
Uploading via. SFTP with git-ftp shows the following error: "fatal: Protocol 'sftp' not supported by curl, exiting..."
Thanks! Tim