> >What is your $CYGWIN setting? Are you running ncftp from a bash shell, or
> >from a shortcut? If the latter, is your $CYGWIN set in .bashrc or
> >similar, or is it set in the Windows environment?
>
> CYGWIN is not set at all
> I'm running from bash
>
> >ncftp seems to extract the value of $HOME from /etc/passwd, rather than
> >from the current value of $HOME... What is your home directory set to in
> >/etc/passwd?
This is probably a bug in [the Cygwin port of] ncftp (either that or an
outdated man page).
> Hm. in /etc/passwd my home is /home/[username]
> All users' homes are like that under /home I wonder if this has always
> been in cygwin. I never looked in /etc/passwd before.
This is the default. You can edit /etc/passwd and change it for your
user (make a backup copy first, just in case).
If the directory specified in /etc/passwd is missing, this could be the
reason for the error message you're getting.
FYI, $NCFTPDIR represents the name of the directory that will actually
contain the files, not the parent of .ncftp, i.e. the default setting
would be NCFTPDIR="$HOME/.ncftp". It works for me on Win2k SP2, same
version of ncftp as you have.
Igor
Ok, tried modifying /etc/passwd and it works now. I suppose this should be
documented. In the past, for all cygwin apps that I used, it was sufficient
to have $HOME set and be done.