ftp: binary vs ascii – checksum vs checksum

Zelan emon lei artxibo bardiñen checksum-ek ezberdin?

# binaidxo
md5sum -b config.xml 
263fe7751b96df9fc94fa4d6af2cfbb7 *config.xml
# texto moduen
md5sum -t config.xml 
263fe7751b96df9fc94fa4d6af2cfbb7 *config.xml
# binaidxo
md5sum -b config.xml.bak 
e96f4aa7b3a207778b904780db8d141f *config.xml.bak
# texto moduen
md5sum -t config.xml.bak 
e96f4aa7b3a207778b904780db8d141f *config.xml.bak

Sistema bakotzak beran “enter“-ak sortuten dauzelako kontuz okin biher da FTP bidez BINARY edo ASCII moduen gauzek botatiegaz:

file config.xml 
config.xml: UTF-8 Unicode text

file config.xml.bak 
config.xml.bak: UTF-8 Unicode text, with CRLF line terminators

Ikusten dan moduen ezta bardiñe FTP bidez ASCII moduen edo BINARY moduen botatie, holakorik ez pasateko bota beti BINARY moduen duderik dakozuieniko :)

Leave a Reply

Your email address will not be published. Required fields are marked *