Ftp.py: setting type to data