File compression on upload

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
stevewizard
500 Command not understood
Posts: 2
Joined: 2019-05-23 14:10
First name: Steve
Last name: Bonin

File compression on upload

#1 Post by stevewizard » 2019-05-23 14:18

I am having a problem with FileZilla compressing my .htaccess when I upload it to the server. As a result, the 301 Redirects no longer work.
The file is written in Notepad++
The Host is BlueHost
The htaccess works fine when I use the cPanel filemanager to upload.
I can only assume something has gone wrong since the last update of FileZilla v 3.42.1 on WIN10 64-bit

Any Ideas?

Thank you
Steve

User avatar
botg
Site Admin
Posts: 35566
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: File compression on upload

#2 Post by botg » 2019-05-23 19:59

FileZilla does not compress files.

User avatar
boco
Contributor
Posts: 26940
Joined: 2006-05-01 03:28
Location: Germany

Re: File compression on upload

#3 Post by boco » 2019-05-24 01:25

What do you mean by "compression"? If the file size shrinks a few Bytes, it's due to line ending conversion, performed when transferring the file as ASCII to a server using a different line ending scheme. See Data Type.

If you want the file to be transferred as-is, transfer it as Binary/Image Type. Can be changed in the settings.
Last edited by botg on 2019-05-24 06:28, edited 2 times in total.
Reason: Fixed tags
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

stevewizard
500 Command not understood
Posts: 2
Joined: 2019-05-23 14:10
First name: Steve
Last name: Bonin

Re: File compression on upload

#4 Post by stevewizard » 2019-05-24 13:56

I will try to upload as binary. It is an htaccess file and what I mean by compression is minify, ie. all carriage returns and spaces are removed sothefilecontentsendsuplookinglikethis. Thus, the file is not read properly by the server.

Post Reply