commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Payne" <jon.pa...@ttpcom.com>
Subject RE: FTP send changes file size
Date Thu, 10 Apr 2003 08:51:00 GMT
Worth checking that you're in binary mode as opposed to text mode - that
would account for a file size change.

Jon

-----Original Message-----
From: Press, Michael [mailto:Michael.Press@Artesia.com]
Sent: 09 April 2003 18:01
To: 'Jakarta Commons Users List'
Subject: FTP send changes file size



I'm using netcomponents to ftp a file to a remote server.  The FTP completes
successfully, but the file sent is 10 bytes smaller than the original.  It's
a 1.2MB JPEG file, and the image is distorted after the FTP (smaller files
are sent without change).  This is Unix->Unix.  A manual FTP using the Unix
command-line FTP results in the same file size at the destination.

Why would the file change size?  Is there some setting I'm missing that
would resolve this?

Thanks,
Michael

---------------------------------------------------------------------
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