ajaxorg/jsftp — pull request #3 by sergi (2012-11-14 20:02:47+00:00)
Title: Fix execution of the custom `onConnect` handler

This fixes a bug introduced by the latest changes, in which a user custom `onConnect` callback passed in the options upon the Ftp client construction wouldn't be executed when the socket connects.

It also includes an upstream merge.

@ajaxorg/knuth @zefhemel