I’m trying to implement an FTP backend for rclone (cfr. issue #540) but I’m having a few issues. I admit i am a go newbie, so I might be doing something really really stupid…
However, what happens is that when I try to list a directory the program seems stuck. The List() function terminates (as far as I can see), but then the code seems stuck in some sort of deadlock (strace says it’s stuck in a futex() call).
I’ve also tried with delve but I couldn’t really see what happens after the List() is called.
If you want to check the code it’s in my github fork at https://github.com/arcimboldo/rclone