commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmfarhan <far...@cybercomcity.com>
Subject Uploaded image gets corrupt
Date Tue, 08 Aug 2006 16:19:17 GMT

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: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message