Hi, I am using Jakarta Commons Net in my desktop application to upload images to the web server. It was working fine until the ftp was changed from ProFTPD 1.2.10 Server (ProFTPD) to Pure-FTPd.
Now, whenever i upload any image to the server it becomes corrupt. 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 --------------------------------------------------------------------------------- ------------------------------ Pure-FTPd ----------------------------------- STATUS:> Connecting FTP data socket 88.208.208.80:43332... 150 Accepted data connection 226-Options: -a -l 226 82 matches total STATUS:> Directory listing completed. COMMAND:> TYPE I 200 TYPE is now 8-bit binary COMMAND:> TYPE A 200 TYPE is now ASCII --------------------------------------------------------------------------------- But i don't know how to overcome this problem or how to change to 8-bit mode. Farhan -- View this message in context: http://www.nabble.com/Uploaded-image-gets-corrupt-tf2073693.html#a5709951 Sent from the Commons - User forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]