直接用ftpsync了,不用hexo-deployer-ftpsync。我知道了,是因为设置参数的时候:remote: ./demo 必须这样设置,而且在hexo的_confg.yml里需要在plugin里添加hexo-deployer-ftpsync