-
Notifications
You must be signed in to change notification settings - Fork 137
Incompatible with ncftp? #27
Comments
I haven't tested ncftp, I have tested Transmit & chrome browser on macOS, both are work. You can visit http://github.com/goftp/ftpd to find the example |
Hmm ok. I also tried OSX's "native" command line ftp utility and could not make that work at all either. I'm trying to build a kind of an in-memory Driver which would later on perhaps later actually do something with the data, but for now I'm just trying to figure out how to make things work with (any) FTP client. Any idea why the passive mode setup doesnt seem to work? |
Also, could you please perhaps test it with NcFTP which has been the de facto FTP client cli for over a decade? |
And when I try to do the same with the OSX's 'native' ftp cli, the following happens (im logging in and trying to do ls / dir):
And the server output is:
|
It seems command |
To me it appears your implementation for PASV mode is broken; I could not get this to work with any of the 4 clients I tried. I did get the PORT mode to work on one, though. This however is not suitable to my needs. |
closed by #28 |
Hi, I just implemented a server with this framework. I love the clear API by the way.
I couldnt really make it work with any FTP client I had at hand; the one I tried most is NcFTP. When I log in and try to send a file, I get the following output from NcFTP:
So there are some errors (Invalid reply: .. ).. from my logs on the server I can tell the file was received, but NcFTP never sees any progress and the PUT command gets stuck .. ?
Server logs the following for the same session (login + PUT foo.bin):
Looks to me like the passive mode connection is not being set up properly? Instead it seems to be using active mode and opening a socket towards the client?
I am running it on a 64-bit OSX PC (Macbook Pro) with Go 1.8.1. This is how I create my server:
.. could just be my FTP skills are incredibly rusty.
The text was updated successfully, but these errors were encountered: