Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: 550 Can't create directory: No such file or directory #109

Open
Machinas opened this issue Jan 25, 2016 · 2 comments
Open

Error: 550 Can't create directory: No such file or directory #109

Machinas opened this issue Jan 25, 2016 · 2 comments

Comments

@Machinas
Copy link

Hi,
I get this error:
Error creating new remote folder /html/ux-protos-test/ --> Error: 550 Can't create directory: No such file or directory

This is my grunt task file
:
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'
]
}
}

What could be wrong?

@zonak
Copy link
Owner

zonak commented Feb 23, 2016

This looks like a permission or folder structure issue. Try performing the tasks you need manually first with the same authentication parameters.

@Sothos
Copy link

Sothos commented Mar 23, 2016

I have a similar problem. ftp-deploy does not seem to be able to create intermediary folders if they do not exists. i.e. :

ftp root: "www" (empty)
ftp-deploy dest: "folder1/folder2/index.html"

This will fail because ftp-deploy will not first create "folder1" before trying to create "folder2"

ftp-deploy dest: "folder1/index.html" works as expected, and "folder1" is created before "index.html" is uploaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants