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

Allow for specifying path to netrc as an option #3

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

Conversation

luizribeiro
Copy link

From commit message:

This allows users to give the location to the netrc file, which often contains secrets for authentication into an FTP server.

Typically, this file lives under $HOME/.netrc. However, in certain scenarios it is desirable to keep this file somewhere other than the user's directory.

This is basically the same patch from https://sourceforge.net/p/curlftpfs/discussion/542749/thread/3becfed6/ which was never merged upstream.

While at it, I also removed an unused function that was breaking compilation when warnings are enforcing.

This allows users to give the location to the netrc file, which often
contains secrets for authentication into an FTP server.

Typically, this file lives under `$HOME/.netrc`. However, in certain
scenarios it is desirable to keep this file somewhere other than the
user's directory.

This is basically the same patch from
https://sourceforge.net/p/curlftpfs/discussion/542749/thread/3becfed6/
which was never merged upstream.
@ikn
Copy link
Owner

ikn commented Apr 17, 2023

Thanks. Could you also add it to ChangeLog and doc/curlftpfs.1?

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.

2 participants