News for hackers. Stuff that matters.
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).