Update lib/ftp.js

fixed a bug on list command, which course list callback trigger twice