commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Smoak" <j...@wendysmoak.com>
Subject Re: [Net] Corrupt file when using FTP
Date Mon, 04 Jul 2005 17:00:14 GMT
From: "David Leangen" <dleangen@canada.com>

> I'm using FTP as described below. However, when transferring a zip file,
> although everything appears to go well with FTP (no exceptions thrown and
> all 2xx codes), when trying to open the file afterwards, I get errors such
> as:
>
> Error: Unexpected end of file
> Error: File corrupt
>
> Am I doing something wrong?

http://wiki.apache.org/jakarta-commons/Net/FrequentlyAskedQuestions
(Third one down... you need to tell it you're transferring a binary file.)

-- 
Wendy Smoak





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