Comments (7)
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.
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.
Also, could you please perhaps test it with NcFTP which has been the de facto FTP client cli for over a decade?
from server.
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.
It seems command EPSV
is failed and LPSV
is not supported.
from server.
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.
closed by #28
from server.
Related Issues (15)
- LIST -al command not supported HOT 1
- Not correctly closing connections HOT 1
- 有严重的内存泄漏问题 HOT 1
- How to replace the logger? HOT 3
- passiveListenIP will get a bad IP string HOT 3
- when the ftp client auto select Character encoding HOT 2
- 500 Command not found, and if via passive address scan failure HOT 1
- sftp HOT 4
- Reading username from the driver HOT 3
- Can't accept XMKD command HOT 1
- How to limit the speed at the server HOT 3
- Docker 中没有写入权限 HOT 1
- Endless loop when client terminates the connection HOT 1
- Implement APPE command HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from server.