-
Notifications
You must be signed in to change notification settings - Fork 38
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 : copy files ! #51
Comments
应该是这里错了 |
i have this same error seems plugin isn't working |
gulp.task("sendFile",["build"], _ => {
return gulp.src("../stats_x86_64")
.pipe(ssh.dest("/home/nikos/"));
})
gulp.task("deploy", ["sendFile"], _ => {
return ssh.exec(["chmod a+x /home/nikos/stats_x86*","exit"]).pipe(gulp.dest("logs"))
}) here is my code |
|
@zensh stats_x86_64 is an executable not a folder |
@NikosEfthias You should remove |
it tells function will not have any parameters in es6 syntax what it has to do with ssh ? |
I get the same error too
My code,
|
|
@goldenratio theres no support for this plugin i guess i just used rsync with child_process.exec in my gulpfile if you are on a mac or linux machine you can also do the same thing i am not sure about mac but on linux rsync comes pre-installed |
It seems the issue happens if I upload over 100 files or so. |
@goldenratio i tried to upload just a single binary about 30 mbytes |
could be related to this, mscdex/ssh2-streams#32 |
@goldenratio |
@zensh created issue ticket mscdex/ssh2#448 |
Are there any updates regarding this? Seems like it's still not working with a large number of files. |
Same issue here. Any solutions or workarounds anyone? |
I had to keep using So I had to find a workaround. That took some fresh thinking. Here is it all from my Gulp deploy task:
Hope that helps someone. |
when I copied the files to remote server , I received the error messages ....
how can I solve this problem~ thx
===== gulp code =====
gulp.task('deploy:copy', ['deploy:clean'], function () {
return gulp
.src([conf.paths.dist + '/**'])
.pipe(gulpSSH.dest('/dist'));
===== error info =====
[17:43:31] Error in plugin 'gulp-ssh'
Message:
Failure
Details:
code: 4
lang:
The text was updated successfully, but these errors were encountered: