Say I have an org-link like [[file:/ftp:[email protected]:]] to an FTP site that I would like to open in dired. Unfortunately, when opening the link, the following is prompted:

Opening FTP connection to ftp.gnu.org...

tramp-file-name-handler: FTP Error: OPEN request failed:

Upon trying it a second time, Emacs tends to crash.

There is also a buffer *ftp [email protected]* which has the following content (sorry, partly in German):

Ung ltiger Hilfebefehl foo

open ftp.gnu.org

Verbindung mit ftp.gnu.org wurde hergestellt.

220 GNU FTP server ready.

Any idea what could be going on? (I'm under Windows with Emacs (x86_64-w64-mingw32) using tramp as is.)

  • Please mention your Tramp version and your Emacs version.
    – Drew
    Commented Mar 31, 2017 at 17:39
  • There should be a buffer *ftp [email protected]*. Do you see something there? Commented Mar 31, 2017 at 17:58
  • @Drew I've added version info.
    – Timm
    Commented Mar 31, 2017 at 18:11
  • @MichaelAlbinus Yes, there is such a buffer! Sorry, I forgot to mention this. I've updated the question. Maybe tramp doesn't know how to properly use ftp.exe? In the PowerShell, ftp.exe works just fine.
    – Timm
    Commented Mar 31, 2017 at 18:29

1 Answer 1


Following the instructions given here, I've downloaded an old windows port of GNU ftp and then let ange-ftp know where it can find it:

(setq ange-ftp-ftp-program-name "c:/programs/ftp.exe")
  • I've corrected the link and it should be working now.
    – Timm
    Commented Feb 28, 2018 at 6:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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