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

Issues when gulp-sftp creates remote directories #5

Closed
u01jmg3 opened this issue May 5, 2014 · 4 comments
Closed

Issues when gulp-sftp creates remote directories #5

u01jmg3 opened this issue May 5, 2014 · 4 comments

Comments

@u01jmg3
Copy link

u01jmg3 commented May 5, 2014

Hi, when using the following settings:

gulp.task('sftp', function () {
    return gulp.src(['./**/*.{css,js,gif,png}', '!./src/**/*'])
        .pipe(sftp({
            host: 'ftpweb.xxxx.ac.uk',
            auth: 'keyMain',
            remotePath: 'public_html'
        }));
});

I'm finding when gulp-sftp comes to create directories that it fails. This is what I see on my web server:

1

The dist dir should be created within the public_html dir and the styles dir within the dist.

I saw a recent fix (#2) for slashes but perhaps this fix needs to be extended?

@gtg092x
Copy link
Owner

gtg092x commented May 5, 2014

Can you tell me if you're on a windows client? My guess is yes, there might be an easy fix there

@u01jmg3
Copy link
Author

u01jmg3 commented May 5, 2014

I am on Windows

@gtg092x
Copy link
Owner

gtg092x commented May 5, 2014

Ok, uploaded a fix with the latest commit, don't have access to a windows machine at the moment; can you test and close?

@u01jmg3
Copy link
Author

u01jmg3 commented May 5, 2014

Latest commit solves the issue on my Windows machine - many thanks

@u01jmg3 u01jmg3 closed this as completed May 5, 2014
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