Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I have sort of this in my .netrc:

        login mylogin 
        password mypassword

and while I can succesfully connect with ftp:


and passing credentials to ncftp:

ncftp -umylogin -pmypassword

I get this using only ncftp

NcFTP 3.2.4 (May 16, 2010) by Mike Gleason (
Connecting to                                                    
ProFTPD 1.3.1 Server (Debian) []
Login incorrect.                                                                
Sleeping 20 seconds... 

Any advice welcome...

share|improve this question

1 Answer 1

up vote 3 down vote accepted

man ncftp states, that ncftp do not use .netrc file for storing preferences. See FILES section for details. Instead it use $HOME/.ncftp/ directory. Just connect to your server and use bookmark command for creating a record in $HOME/.ncftp/bookmarks file

share|improve this answer
I relied on this doc I found online but it was wrong... However the bookmarks facility forces using at least once in interactive mode, not always what you want... Thanks – neurino Jan 30 '13 at 17:55
This man is very old, I guess. I could not find any mentions about netrc in change log – dchirikov Jan 30 '13 at 18:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.