Fixed Issue #20

As mentioned in https://github.com/shama/cakeftp/issues/20