我正在尝试配置 Sonata Media Bundle ftp 连接:
sonata_media:
filesystem:
ftp:
directory: /path-to-upload
host: http://ftp-server-host
username: username
password: password
port: 21
passive: false
create: true
mode: 2
但是当我上传文件时没有任何反应。ftp 服务器日志没有显示任何连接请求。在 yml 文件中配置 ftp 连接还不够吗?在文件系统参数下我只有 ftp 参数,没有配置本地或任何其他参数。