Package: lftp
Version: 4.6.4-1
Severity: normal

I have specified login and password in ~/.netrc as follows:

machine mysite.com
login myuser
password mypassword

I then connect using:

> lftp ftps://mysite.com

I get a 530 Login or password incorrect!

However, if I use:

> lftp ftps://myu...@mysite.com

everything works as expected, and I don't have to enter my password. So I know
the machine and password fields are correct. It's the login field that isn't
being recognized, but this field name is standard in netrc, and I have several
other entries in the same format that are being used successfully by other
programs.

I should be able to connect using the first URL form rather than the second if
the site is listed in ~/.netrc

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (500, 'testing-updates'), 
(500, 'testing-proposed-updates'), (500, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.1.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.utf8, LC_CTYPE=en_CA.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lftp depends on:
ii  libc6              2.19-19
ii  libgcc1            1:5.1.1-14
ii  libgnutls-deb0-28  3.3.17-1
ii  libidn11           1.32-1
ii  libreadline6       6.3-8+b3
ii  libstdc++6         5.1.1-14
ii  libtinfo5          6.0+20150810-1
ii  netbase            5.3
ii  zlib1g             1:1.2.8.dfsg-2+b1

lftp recommends no packages.

lftp suggests no packages.

-- no debconf information

Reply via email to