在 Ubuntu 上搭建的 FTP / FTPS / SFTP 服务器,可以使用很多种客户端连接,具体取决于你搭建的是哪种服务:
ftp ftp.example.com
lftp ftp://user@host
lftp -e 'set ftp:ssl-force true' ftp://host
curl ftp://host/file -u user:pass
ftp://user@host
Ubuntu 默认就支持 SFTP(只要开了 ssh)
sftp user@host
scp file user@host:/path
rsync -avz file user@host:/path
sftp://user@host
ftp://host注意:现代浏览器大多已不支持 FTP
| 服务器类型 | 推荐客户端 |
|---|---|
| vsftpd (FTP) | FileZilla / lftp |
| vsftpd + SSL (FTPS) | FileZilla |
| OpenSSH (SFTP) | FileZilla / WinSCP / sftp |
如果你愿意,可以告诉我:
我可以直接给你具体连接方法和配置示例。