vinyl-ftp
vinyl-ftp copied to clipboard
SFTP support?
Are there any plans to implement SFTP?
Thanks.
No, not currently. I think https://github.com/mscdex/ssh2-streams would provide most of the functionality, so maybe an abstraction of FTP/SFTP inside of vinyl-ftp is viable. However, I think this should go in a separate module vinyl-sftp
because FTP and SFTP don't seem to be related too much. (I might be wrong about that, though.)
+1
+1
+1
+1
+1
+1 this would be an awesome feature. I use SFTP whenever possible, and some servers even require to use only STFP
+1
+1
+1
+1
+1
+1
+1
+1
+1
Currently, I'm using gulp-sftp in addition to vinyl-ftp ;)
+1
+1
+1
+1
+1
Have working implementation with ssh2
:
https://github.com/bigcompany/hook.io-vfs/blob/master/lib/adapters/sftp.js
https://github.com/bigcompany/hook.io-vfs/blob/master/examples/sftp-readFile.js https://github.com/bigcompany/hook.io-vfs/blob/master/examples/sftp-writeFile.js
Is coupled to multi-cloud virtual file-system. Feel free to use.
cool!!
+1
+1
+1
+1
+1!
+1
+1
I was just looking at the documentation, and saw there was a parameter for "secured." Is that for SFTP? Going to try and test it later today.
- secure: Set true for secured FTP connections
EDIT: Nope, just TLS.
+1
+1
+1
+1
+1
+1
+1
+1
I've had this working in production for some time. The base of the code is using ssh2
and https://github.com/bigcompany/hook.io-vfs/blob/master/lib/adapters/sftp.js.
If anyone wants this enough to pay me to build a new separate library vinyl-sftp
let me know and I should be able to get it built.
+1