Comments (9)
I'm getting this same issue. I'm trying to figure out what's up, but am having trouble tracking it down. I don't know if I npm updated or if it's cuz I updated node to 0.5.8 or if it was broken before I updated... :-/
Either way, this is definitely broken for 0.5.8, I'll try and roll back and see if that fixes it.
from jsftp.
Oddly enough, mine also started 2 days ago... I don't see any activity on the module though. Must be a node issue?
from jsftp.
In my case I had node.js 0.4.12 for a while and I didn't have the bug with this version last week.
Since I didn't have the problem last week and that the last jsftp update is from 4 weeks ago I think I was using a out-of-date version of jsftp.
I can't reproduce the bug with the 0.1.5 version.
The first bad commit is 47816c3.
@CrabDude Does using the 0.1.5 version fixes the problem for you too?
from jsftp.
Here's an expect script using netcat to reproduce the bug I have :
#!/usr/bin/env expect
spawn nc -vl 9999
set timeout -1
expect "Connection from * accepted" { send "220 FTP server (Hummingbird Ltd. (HCLFTPD) Version 7.0.0.0) ready.\r" }
expect -nocase "user *" { send "331 Password required for this_user.\r" }
expect -nocase "pass *" { send "230 User agent logged in.\r" }
expect -nocase "SYST" { send "500 'SYST': command not understood.\r" }
expect -nocase "FEAT" { send "500 'FEAT': command not understood.\r" }
expect -nocase "TYPE I" { send "200 Type set to I.\r" }
expect -nocase "CWD *" { send "250 CWD command successful.\r" }
expect -nocase "PWD" { send "257 '/' is current directory.\r" }
Using 1eb4342, jsftp never send the password.
I get this :
bbigras@ubuntu:~/node-ftp$ expect test_ftp
spawn nc -vl 9999
Connection from 127.0.0.1 port 9999 [tcp/*] accepted
220 FTP server (Hummingbird Ltd. (HCLFTPD) Version 7.0.0.0) ready.
user user
331 Password required for user.
It seems self.raw.pass's callback is never called.
from jsftp.
[REMOVED]
from jsftp.
@CrabDude Yes 47816c3 is the bad commit. Like I said in one of my comments :) git bisect rules.
from jsftp.
Hi @BrunoQC,
Testing with your simple auth script, it works properly with my FTP server in node 0.4.12 and 0.6.2. I think it is very likely that it is related to the server you are using, and I'd like to test there if possible. Is there any way you can give me a dummy account with which I can test?
Thanks,
Sergi
from jsftp.
In case anyone stumbles upon this same issue, see:
from jsftp.
Pull Request #16 has been merged. @BrunoQC can you try again?
from jsftp.
Related Issues (20)
- Ftp.features is undefined when auth is not called
- list returns wrong filename if filename starts with a space HOT 1
- raw command of send was failed
- Documentation May Be Wrong HOT 1
- Can i sync ftp folder with local folder?
- ftp.get() not working correctly HOT 7
- Browse directories
- Ftp.put can only upload empty files on node10.16.0. If there is content, call error = = = false, but there is no file on the server
- jsftp ls error
- TypeError: this.socket.on is not a function at Ftp._createSocket HOT 3
- How to use 'rmda' command HOT 3
- not support node v10.x (fault upload, download at CentOS8) HOT 2
- Is it possible to use put function for directory
- HTTP proxy
- Ftp.get(remotePath, localPath, callback) creating files with size 0
- DeprecationWarning: Invalid 'main' field in '/workspaces/myblog/node_modules/jsftp/package.json' of './jsftp.js'.
- .rename 501 Bad sequence of commands fix
- FTP raw mkd HOT 1
- Invalid 'main' field in 'D:\hexo\blog\node_modules\jsftp\package.json'
- How to multiple get files [solution]
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 jsftp.