(Please forgive my subject header -- the digest format is way broken, and doesn't associate subjects with messages, senders with messages, and doesn't separate messages in any way) On Wed, Jul 25, 2001, at 12:22 PM, [EMAIL PROTECTED] (macperl- [EMAIL PROTECTED]) wrote: >Hi all, > >I am trying to put a jpeg on a server and having file corruption problems. The >FTP server is WebSTAR. I can use Fetch to put the file there, but when I >try to >do it from my Perl program, the file becomes corrupted. > >Another problem is that the file's comment field has data in it on my >computer. >After it is ftped to the server, that data is missing. This happens with both >Fetch and Net::FTP. > >Anyone know what is going on? > >Thanks, >Kathy Richmond It sounds to me like the jpeg is being transferred in text mode, not binary mode, and hence is being subjected to linebreak translation... HTH, Ricky