This source is a copy to the following git: https://github.com/macdonst/FtpClient. It's modified to work with Cordova