I have a ProFTPd Server where the users can access to files using links dynamically generated in a website. The link URL follows the pattern ftp://user:password@host/path/to/file

With the new iOS 11 and new macOS, users cannot access the FTP server. They get a "don't have permission to open" error.

Surprisingly, on a Mac, hovering over the link and using contextual menu->“download attached file” will download the file.

Any iPhone or Mac running previous OS versions can download the files normally.

Looking through FTP logs confirms credentials are not sent by Safari.

Using any other browser (Chrome, Firefox) works fine as well.

Forcing users to an external app is not an option.

Any idea?

EDIT: I have tpcdump the connection and I see that Safari changes request user and password to: user-> anonymous pass-> cfnetwork@apple.com

So the FTP server rejects the connection to a anonymous user.


Consider switching to anonymous FTP, or HTTPS or SFTP.

Apple has been making a concerted effort to make sure credentials and other possibly private info never traverses the network in the clear. For example they removed the command-line FTP and Telnet clients from macOS as of High Sierra (10.13), since those protocols are insecure.

Anonymous FTP might work since it doesn’t send credentials. HTTPS or SFTP might work since those are secure.

  • Hi. I thought that SFTP protocol can't be used in URL. – Rafa Bermúdez Dec 14 '17 at 9:32

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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