trying to debug ftp mode