When doing FTP downloads of my website, I periodically find that it haS stopped, complaining/warning that transferring binary files in text mode will make them unusable. These are either .php or .js files. I have set both .php and .js as text in the automatic list. Looking at the files does not reveal any hidden binaries (though I am not sure I would know). It is consistent. Attempting FTP of a guilty file gives the same error.
Do you know cause/cure?
-----Paul-----
FTP Auto Transfer Mode Mistakes?
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50923
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
TC checks for characters with codes 0..6 in the first block received from the server. The most common case are files in UTF-16 Unicode, where every second character in English is a 0 byte.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50923
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Yes, you can add the line:
WarnWrongMode=0
to your wcx_ftp.ini, under section header [General].
WarnWrongMode=0
to your wcx_ftp.ini, under section header [General].
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com