gtg092x / gulp-sftp

Gulp SFTP Deploy
140 stars 61 forks source link

Creating remote folders ... #22

Closed klwemu closed 9 years ago

klwemu commented 9 years ago

Folders wich do not exist remtely can´t be created.

marshallbu commented 9 years ago

+1

Fleshgrinder commented 9 years ago

+1

pinghe commented 9 years ago

+1

gtg092x commented 9 years ago

https://github.com/gtg092x/gulp-sftp/pull/24 - I blindly accepted a PR that introduced a problem, confirming the fix works on osx as well as windows and I'll publish to NPM.

Thanks all for patience here

gtg092x commented 9 years ago

Updated and published to npm. Tested for Windows 8 => Ubuntu and OSX => Ubuntu. If anyone in this issue can test latest with OSX => Windows Server and Windows => Windows Server, I would appreciate it. Otherwise, I'll look into paying for an ec2 windows instance

gtg092x commented 9 years ago

Oh - and if you guys like emojis, you can wrap +1 with a colon to get the icons. :+1:

klwemu commented 9 years ago

Sorry, but it does not work. The problem happens on new sub folders.

events.js:72 throw er; // Unhandled 'error' event ^ Error: No such file at SFTP._parse (C:\xampp\htdocs\vx\node_modules\gulp-sftp\node_modules\ssh2\lib\SFTP\SFTPv3.js:1090:23) at ChannelStream. (C:\xampp\htdocs\vx\node_modules\gulp-sftp\node_modules\ssh2\lib\SFTP\SFTPv3.js:72:10) at ChannelStream.emit (events.js:95:17)

gtg092x commented 9 years ago

@klwemu - can I get the OS of your local and remote operating system? This, as well as the remotePath parameter you're using in your gulp config.

Just tested fine with OSX => Ubuntu. Your local OS is clearly windows, I need more info on the remote OS.

Also just tested fine with Win7 => Ubuntu. More info needed here. Please post your version of gulp-sftp too.

klwemu commented 9 years ago

Hello, local is W8.1 and remote is Ubuntu.
"remotePath": "/usr/share/nginx/html"

Err case: When we have a new folder (for a blog posting) in ..nginx/html/blog/newFolder the err raises. I hope this help´s

gtg092x commented 9 years ago

Does "blog" exist?

klwemu commented 9 years ago

yes! Only the sub folder is new ...

2015-02-10 19:06 GMT+01:00 Matthew Drake notifications@github.com:

Does "blog" exist?

— Reply to this email directly or view it on GitHub https://github.com/gtg092x/gulp-sftp/issues/22#issuecomment-73750261.

Klaus Muckenhuber Business Developement

https://VISITLEAD.com 0049 7247 50315 - 11