Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to use the Cygwin ftp client in Windows 7 but it just hangs on connect:

$ ftp -d
User ( anonymous
---> USER anonymous


Windows ftp from a command prompt connects without any issue:

C:\> ftp
Connected to
220 Red Hat FTP server ready. All transfers are logged. <FTP> [no EPSV]
User ( anonymous
331 Please specify the password.
230 Login successful.
share|improve this question

I think that the appearance is misleading. Could it be that there is no default FTP support in Cygwin ?

$ which ftp

whereas the usual directory for Cygwin executables has no such file:

$ ls /usr/bin/ftp*
ls: cannot access /usr/bin/ftp*: No such file or directory

That means that it's actually the Windows7 FTP client that is being launched from the Cygwin prompt, which is currently not supported. In the link provided by Tim Supinie, compatibility problems are mentioned for the blanking that needs to happen when the user enters his password.

My solution has been to look for a Cygwin variant of FTP, but Cygwin's setup.exe is remarkably clumsy at this point. I was only being offered some fancier FTP clients. The solution was also provided in that link. Kevin Panko, it literally instructs to download the inetutils package in Cygwin, which contains popular networking clients. By entering that word in Cygwin's setup.exe, I ended up with the true native FTP client under Cygwin, as proven by:

$ which ftp
share|improve this answer

Were you able to find an answer? I ran into this problem recently, and this link seems to indicate that Cygwin cannot run FTP natively. One needs to download a separate Cygwin FTP client or just use the native Windows command line FTP client. As for the reason why Cygwin fails, the link goes into a little bit of detail.

share|improve this answer
Please summarize what the link says, in your answer. If the link goes down, then your answer will not be helpful in the future. – Kevin Panko Jan 17 '14 at 22:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .