gtg092x / gulp-sftp

Gulp SFTP Deploy
140 stars 61 forks source link

Recreate directory structure #15

Closed alexshk closed 10 years ago

alexshk commented 10 years ago
events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: No such file

Thanks

gtg092x commented 10 years ago

Your issue may be handled here: https://github.com/gtg092x/gulp-sftp/issues/10

Also, check out the comments in the readme regarding the need for an existing remote base directory: https://github.com/gtg092x/gulp-sftp#optionsremotepath

If this doesn't solve your problem, please reopen this issue.

davismj commented 10 years ago

This didn't solve the problem.

tomoakley commented 9 years ago

Hi - I have this problem too. I use Gulp with WordPress themes, and have some custom directories (e.g assets/images, etc). Whenever gulp-sftp comes across one of these, it just errors with the above that @davismj posted originally. Also, is it possible to have a file like .gitignore where I can specify files I don't want to upload? Currently, gulp-sftp is uploading everything, including the node_modules directory, which is massive.