gtg092x / gulp-sftp

Gulp SFTP Deploy
140 stars 61 forks source link

Create remote target directory. #13

Closed headcr4sh closed 10 years ago

headcr4sh commented 10 years ago

If the remote root directory does not (yet) exist, an error is thrown.

This little patch makes sure that the remote root directory is created before an attempt is being made to upload files.

gtg092x commented 10 years ago

I didn't want to be inadvertently responsible for entire directory trees from root (because you'll end up supporting a slew of permissions errors, now), but this has been asked for.

Two things - update the documentation, and please add all contributors from this repo to your contributors block (including myself, please).

gtg092x commented 10 years ago

Looked at your code - nevermind the comment about directory trees from root, it looks like this just creates the target directory. Still, update the documentation and contributors, please.

headcr4sh commented 10 years ago

Some things:

gtg092x commented 10 years ago

Will bump npm release within the week - thanks for the help