|
|
Joined: Dec 2001
Posts: 112
Member
|
Member
Joined: Dec 2001
Posts: 112 |
Reading the instrutions on upgrading and they say you must use ascii for certain files when you upload them to your server dir.
Why do I get differnt byte counts between ascii and binary?
Can I use binary because this is the only way I get the correct byte count
Delw
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
if it says you must use ascii, you must use ascii. uploading in binary will screw up your board.
|
|
|
|
Joined: Dec 2001
Posts: 112
Member
|
Member
Joined: Dec 2001
Posts: 112 |
Ian,
Thanks for the quick reply
Why does the byte count change when sending something via ascii vs binary ? is that normal?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I don't know, I've just always made sure to upload in ascii can I broke my board when I uploaded in binary.
PS. images can be uploaded in binary
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
Images must be uploaded in binary. The odd byte count when uploading in ASCII is on purpose.
UBB.classic: Love it or hate it, it was mine.
|
|
|
|
Joined: Dec 2001
Posts: 112
Member
|
Member
Joined: Dec 2001
Posts: 112 |
|
|
|
|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
I'm no genius when it comes to transfer modes, but I do know that uploading text files in binary causes all carriage returns and line feeds to be replaced with the graphical representation of those characters (which is just a box under almost every character set). That's probably the reason for the different byte count, because images don't use CR/LFs. Open an image in a text editor and you'll see what I mean.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|