Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

TypeError: Cannot call method 'split' of undefined #4

Closed
bbigras opened this Issue Aug 24, 2011 · 2 comments

Comments

2 participants
Contributor

bbigras commented Aug 24, 2011

I just updated jsftp to 0.1.0 and I got this error.

/home/bbigras/node-ftp/node_modules/jsftp/jsftp.js:507
                    .split(/\r\n|\n/)
                     ^
TypeError: Cannot call method 'split' of undefined
    at entriesToList (/home/bbigras/node-ftp/node_modules/jsftp/jsftp.js:507:22)
    at /home/bbigras/node-ftp/node_modules/jsftp/jsftp.js:495:21
    at Socket.<anonymous> (/home/bbigras/node-ftp/node_modules/jsftp/lib/ftpPasv.js:40:21)
    at Socket.emit (events.js:61:17)
    at Socket._onReadable (net.js:658:51)
    at IOWatcher.onReadable [as callback] (net.js:177:10)
Owner

sergi commented Aug 24, 2011

Sorry, it wasn't well tested. Please try 0.1.1.

Thanks for the heads up.

On Wed, Aug 24, 2011 at 4:40 PM, brunoqc
reply@reply.github.com
wrote:

I just updated jsftp to 0.1.0 and I got this error.

   /home/bbigras/node-ftp/node_modules/jsftp/jsftp.js:507
                       .split(/\r\n|\n/)
                        ^
   TypeError: Cannot call method 'split' of undefined
       at entriesToList (/home/bbigras/node-ftp/node_modules/jsftp/jsftp.js:507:22)
       at /home/bbigras/node-ftp/node_modules/jsftp/jsftp.js:495:21
       at Socket. (/home/bbigras/node-ftp/node_modules/jsftp/lib/ftpPasv.js:40:21)
       at Socket.emit (events.js:61:17)
       at Socket._onReadable (net.js:658:51)
       at IOWatcher.onReadable as callback

Reply to this email directly or view it on GitHub:
#4

Contributor

bbigras commented Aug 24, 2011

I don't have this issue with 0.1.1.

Thanks!

@bbigras bbigras closed this Aug 24, 2011

@sergi sergi pushed a commit that referenced this issue Nov 20, 2012

@fjakobs fjakobs Merge pull request #4 from ajaxorg/fix_streaming
Implement proper streaming capabilities for passive commands
486b017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment