You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reads
馃憤if not no_netrc (so you didnt not specify no_netrc)
鉂揳nd not force_user (so you did NOT specify a user)
allow netrc.
This means netrc will only work if you DO NOT specify a username (sftp://machine.com)
It will not work if you do username (sftp://user@machine.com) because not force_user
Not sure what the intention of this condition is, but it seems that not force_user just creates confusion and seems to work as intended without that condition.
If this is a desired function, can there be a log that is written of why netrc is being skipped?
The text was updated successfully, but these errors were encountered:
This line is confusing
pyftpsync/ftpsync/util.py
Line 284 in fd6471b
Reads
馃憤if not
no_netrc
(so you didnt not specify no_netrc)鉂揳nd not
force_user
(so you did NOT specify a user)allow netrc.
This means netrc will only work if you DO NOT specify a username (sftp://machine.com)
It will not work if you do username (sftp://user@machine.com) because
not force_user
Not sure what the intention of this condition is, but it seems that
not force_user
just creates confusion and seems to work as intended without that condition.If this is a desired function, can there be a log that is written of why netrc is being skipped?
The text was updated successfully, but these errors were encountered: