News for hackers. Stuff that matters.
Re:Show HN: Ffftp – A Minimal FTP Client Built on Electron by throwaway2016a on Wednesday December 07, 2016 @01:22PM (#13124792)
Nice work.

Does it support SFTP too? From a operational perspective FTP itself should be avoided for anything except public drop-box applications (IMHO).

Also, best practice in node.js (and electron too) is to not put your node_modules folder in Git. You should add it to a '.gitignore' file.

Re:Show HN: Ffftp – A Minimal FTP Client Built on Electron by mitchas on Wednesday December 07, 2016 @01:41PM (#13124983)
Oh, and to answer your question about SFTP, no - not yet.

I'm using JSFTP (https://github.com/sergi/jsftp), which doesn't have SFTP support yet. I wanted to get it up and running on both Mac and Windows before diving into that.

I've found a few forks of JSFTP with it at least partially implemented, so that's the next thing I plan to tackle.

Re:Show HN: Ffftp – A Minimal FTP Client Built on Electron by mitchas on Wednesday December 07, 2016 @01:26PM (#13124827)
Yeah, I really have to spend some time cleaning everything up. The code itself is pretty messy too and needs to especially be split up into smaller files.

This is the first electron or even real node projects I've worked on from scratch, so I'm still getting used to everything.

Re:Show HN: Ffftp – A Minimal FTP Client Built on Electron by benmcnelly on Wednesday December 07, 2016 @01:48PM (#13125043)
I tried doing this exact same thing and it wasn't as quick/easy as I hoped so I bailed, so first off, thank you for making it, and second, don't worry that its messy at least you got it started and that is the hard part.
Re:Show HN: Ffftp – A Minimal FTP Client Built on Electron by mitchas on Wednesday December 07, 2016 @02:08PM (#13125218)
Oh god I nearly bailed as well. Some things were a huge pain to get working.

That's why the code is so messy. A lot of old code left over from trial/error - and a lot of terrible loops to prevent dual FTP connections (which would error).