Thank you for the very fast replies!! That did the trick. :-)
> -----Original Message----- > From: Christian Hufgard [mailto:[EMAIL PROTECTED] > Sent: 5 July 2005 01:51 > To: Jakarta Commons Users List; [EMAIL PROTECTED] > Subject: Re: [Net] Corrupt file when using FTP > > > Hello David, > > think you should set the file type before sending the file: > > replace > > m_ftpClient.retrieveFile(remoteFile, out); > > with > > m_ftpClient.setFileType(FTP.BINARY_FILE_TYPE); > > m_ftpClient.retrieveFile(remoteFile, out); > > Think this might work. > > greets > > christian --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]