Re: [tf-help] My files get corrupted when arriving on the FTP |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/help Archives
]
- To: "help@xxxxxxxxxxxxxxxxxxx" <help@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: [tf-help] My files get corrupted when arriving on the FTP
- From: yann <yannubuntu@xxxxxxxxxxxxxx>
- Date: Mon, 30 Dec 2019 09:08:55 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=default; t=1577696940; bh=g7aMKc07Z1sBAC0ajhNsNw7CFskER8tlmV97FJ61bu0=; h=Date:To:From:Reply-To:Subject:In-Reply-To:References:Feedback-ID: From; b=Cq1KHcuAt94c0VjlY6/5d8i+Rh0WWiCn+VaXU6igEq632lLX9pNxrXiLmbw0ZODU0 Vk+3D0rB5VSLjXqSkUkV/sCkha0z10Vaam6KmV8iGkWV3Jn7BPS9ZAyCErkc58Hs8O yV20jjNuwhPL9hkhOM1+DRg4XSs1QEoAMnMba55c=
- Feedback-id: o4zacCvMSuPzLINPVRp1H76TSQyQjoR9CMA4BRQa8yxKJOktzXa_wWthOI4wQss4sjq7BKFqPk_ZGu60EQ50sQ==:Ext:ProtonMail
‐‐‐‐‐‐‐ 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 !