#!/bin/bash ftp -v -n [host address] << END user [username] [password] binary get [fileName]
就是nginx代理的用户没有权限 chown -R www-data wordpress