I can't figure out the correct syntax for a link to a password-protected FTP site. I want to insert a link in org-mode, which opens a remote FTP server at a given directory in dired.
When I try
/user:pass@host:/dir I get the error unknown method user.
When I do
/ftp:user:pass@host:/dir I get prompted for a Password for myusername@user
Finally, when I do
ftp://user:pass@host:/dir the link gets opened externally (in Firefox)
~/.authinfo, as described in the Password handling section of the TRAMP manual. The password would then be available at any link to that server, not just in the specific org file.