Fixed Issue #20

As mentioned in https://github.com/shama/cakeftp/issues/20
Merge pull request #21 from ravage84/patch-7

Fixed Issue #20