Gruntjs 错误:550 Can';t创建目录:没有这样的文件或目录

Gruntjs 错误:550 Can';t创建目录:没有这样的文件或目录,gruntjs,Gruntjs,使用grunt ftp部署时出现此错误: Error creating new remote folder /html/ux-protos-test/ --> Error: 550 Can't create directory: No such file or directory 这是我的grunt任务文件: module.exports = { build: { auth: { host: 'ux.machinas.com', port: 21,

使用
grunt ftp部署时出现此错误:

Error creating new remote folder /html/ux-protos-test/ --> Error: 550 Can't create directory: No such file or directory
这是我的grunt任务文件:

module.exports = {
  build: {
    auth: {
      host: 'ux.machinas.com',
      port: 21,
      authKey: 'key1'
    },
    src: 'build/templates',
    dest: 'html/ux-protos-test',
    exclusions: [
      '.DS_Store',
      '.gitignore',
      '.ftppass'
    ]
  }
}

可能有什么问题?

您必须在dest中指定一个完整路径,而不是相对路径


可能包括您正在部署的用户的主目录,例如:
/home/your\u user/public\u html/html/ux protos test

是否可能
html
目录不存在?