GithubHelp home page GithubHelp logo

Incompatible with ncftp? about server HOT 7 CLOSED

goftp avatar goftp commented on May 20, 2024
Incompatible with ncftp?

from server.

Comments (7)

lunny avatar lunny commented on May 20, 2024

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

from server.

matti777 avatar matti777 commented on May 20, 2024

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?

from server.

matti777 avatar matti777 commented on May 20, 2024

Also, could you please perhaps test it with NcFTP which has been the de facto FTP client cli for over a decade?

from server.

matti777 avatar matti777 commented on May 20, 2024

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):

[matti@babylon tmp] 09:37:27 % ftp localhost 8021
Trying ::1...
Connected to localhost.
220 Welcome msg
Name (localhost:matti): asd
331 User name ok, password required
Password: 
230 Password ok, continue
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
211 END
Passive mode address scan failure. Shouldn't happen!
ftp> dir
257 "/" is the current directory
parse error!
ftp> 

And the server output is:

2017/05/26 09:37:29 0fed8c5ea7530be039f0  Connection Established
2017/05/26 09:37:29 0fed8c5ea7530be039f0 < 220 Welcome msg
2017/05/26 09:37:32 0fed8c5ea7530be039f0 > USER asd
2017/05/26 09:37:32 0fed8c5ea7530be039f0 < 331 User name ok, password required
2017/05/26 09:37:33 0fed8c5ea7530be039f0 > PASS ****
2017/05/26 09:37:33 0fed8c5ea7530be039f0 < 230 Password ok, continue
2017/05/26 09:37:33 0fed8c5ea7530be039f0 > SYST 
2017/05/26 09:37:33 0fed8c5ea7530be039f0 < 215 UNIX Type: L8
2017/05/26 09:37:33 0fed8c5ea7530be039f0 > FEAT 
2017/05/26 09:37:33 0fed8c5ea7530be039f0 < 211 211-Extensions supported:
 EPRT
 EPSV
211 END
2017/05/26 09:37:33 0fed8c5ea7530be039f0 > PWD 
2017/05/26 09:37:33 0fed8c5ea7530be039f0 < 257 "/" is the current directory
2017/05/26 09:37:35 0fed8c5ea7530be039f0 > EPSV 
2017/05/26 09:37:35 0fed8c5ea7530be039f0 < 425 Data connection failed
2017/05/26 09:37:35 0fed8c5ea7530be039f0 > LPSV 
2017/05/26 09:37:35 0fed8c5ea7530be039f0 < 500 Command not found
2017/05/26 09:37:36 0fed8c5ea7530be039f0 > EPSV 
2017/05/26 09:37:36 0fed8c5ea7530be039f0 < 425 Data connection failed
  • Matti

from server.

lunny avatar lunny commented on May 20, 2024

It seems command EPSV is failed and LPSV is not supported.

from server.

matti777 avatar matti777 commented on May 20, 2024

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.

from server.

lunny avatar lunny commented on May 20, 2024

closed by #28

from server.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.