I can see these are the changes in commands in CuteFTP: ---------------------------- ProFTPD -------------------------------------- STATUS:> Connecting FTP data socket 84.45.66.30:52309... 150 Opening ASCII mode data connection for file list 226 Transfer complete. STATUS:> Directory listing completed. COMMAND:> TYPE I 200 Type set to I COMMAND:> TYPE A 200 Type set to A

A: The most common cause for this is when the file is transfered as ASCII but the contents of the file are not ASCII and the file should be transferred as BINARY. RFC 959 says the default transfer mode should be ASCII. FTPClient conforms to the standard. You must explicitly call setFileType(FTP.BINARY_FILE_TYPE); to request binary transfer mode after logging in to the FTP server.