FTP connections fail. They fail on first setup, they fail after months of working fine, and they fail in ways that give you cryptic error messages. This guide covers the most common FTP and SFTP connection errors you'll encounter on Mac and how to fix each one.

Connection timed out

You try to connect and nothing happens. After 30-60 seconds, you get a timeout error.

Common causes:

Fixes:

Connection refused

The connection is rejected immediately, no waiting.

Common causes:

Fixes:

530 Login incorrect

You connect successfully but the login is rejected.

Common causes:

Fixes:

425 Can't open data connection

You log in successfully but file listings or transfers fail with a 425 error.

Common causes:

Fixes:

SSL/TLS handshake failed

Specific to FTPS connections. The encryption negotiation fails.

Common causes:

Fixes:

Host key verification failed (SFTP)

Specific to SFTP. Your Mac refuses to connect because the server's SSH key doesn't match what it expects.

Common causes:

Fixes:

Permission denied

You connect and log in, but can't read files, write files, or access certain directories.

Common causes:

Fixes:

Mac-specific issues

A few things specific to macOS: