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

Fails after trying to delete a file that doesn't exist #26

Closed
cmcnamara87 opened this issue Mar 9, 2014 · 1 comment
Closed

Fails after trying to delete a file that doesn't exist #26

cmcnamara87 opened this issue Mar 9, 2014 · 1 comment

Comments

@cmcnamara87
Copy link

I am running into this error whenever I try and upload. It tries to delete "/public_html/change/bower_components/font-awesome/src/3.2.1/icon/craigmcn" which doesn't exist. There is no file with that name in my dist folder (which is what I'm uploading). craigmcn is my ftp username specified in my .ftppass file. I'm not sure how its joining those two pieces of information together.

>> Got diff for /styles 2 0 0
>> Uploaded file: .htaccess to: /
Warning: Cannot delete file: craigmcn         4096 Mar  8 18:05 building --> Error: 550 Could not delete /public_html/change/bower_components/font-awesome/src/3.2.1/icon/craigmcn         4096 Mar  8 18:05 building: No such file or directory Use --force to continue.

Aborted due to warnings.

I've also tried with --force and --simple, same error with both.

Config

ftpush: {
            build: {
                auth: {
                    host: 'craigmcnamara.com',
                    port: 21,
                    authKey: 'key1'
                },
                src: '<%= yeoman.dist %>',
                dest: '/public_html/change',
                exclusions: ['<%= yeoman.dist %>/**/.DS_Store', '<%= yeoman.dist %>/**/Thumbs.db', '<%= yeoman.dist %>/tmp'],
                simple: false,
                keep: [],
                useList: false
            }
        },
@inossidabile
Copy link
Owner

use simple: true in your config instead of --simple. It's getting precedence. It never tries to delete anything in simple mode.

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

2 participants