I try to create FTP connection via Tramp, but the output I get on AngeFTP is:
ftp> open android.local ftp: Can't connect to `192.168.0.21:21': Connection refused ftp: Can't connect to `android.local:ftp' ftp>
I have tried many different options, but nothing works. SFTP works fine, but I can't get FTP working. Here is my config:
machine android.local login foo password foo port 2221
(set-register ?a (cons 'file "/ftp:firstname.lastname@example.org:#2221:/storage/0123-4567"))
I was able to connect via ftp client from the terminal (outside Tramp) with the command
ftp ftp://foo:email@example.com:2221, but can't replicate that via Tramp.