Re: [tf-help] My files get corrupted when arriving on the FTP

[ Thread Index | Date Index | More lists.tuxfamily.org/help Archives ]





‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Friday, December 27, 2019 3:56 PM, Sylvain Rochet <gradator@xxxxxxxxxxxx> wrote:

> Hi,
>
> On Fri, Dec 27, 2019 at 02:35:33PM +0000, yann wrote:
>
> > hi all,
> > I'm new here :)
> > See attached: I uploaded 2 files (txt and jpeg) via Filezilla, and
> > they arrived corrupted on the TuxFamily FTP. See attached screenshot
> > and ftp://download.tuxfamily.org/bootrepaircd/check64/
> > I cannot reproduce on other FTPs.
> > Any idea?
>
> I believe it's because you are uploading files in text mode instead of
> binary mode. This is especially obvious on the README.txt file, it is 6
> line long, CRLF are converted to LF line endings, then final size is
> 25 - 6 = 19 byte.
>
> Sylvain


That was it! My Filezilla transfer type was ASCII. Switching to binary mode solved the issue.
Thanks Sylvain !



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/