HTTP upload protocol geek question

The Heretic

Literotica Guru
Joined
Oct 26, 2002
Posts
28,592
So, why, when I upload a 22 MB file to one of my websites, does ZoneAlarm say that the amount of bytes sent is approx. 70 MB?

Is HTTP encoding the bytes in something other than binary?

Is ZoneAlarm mistaken?
 
Because when you upload it takes the original 22MB file and adds lots of error checks and start and stop controls (plus if it errors it may restart and resend the corrupted packets) on top of the bits in the file itself. Network overhead can be a bitch. ;) To get to 70 MB you must have has some problems and resent big chunks of the file in there though.
 
ma_guy said:
Because when you upload it takes the original 22MB file and adds lots of error checks and start and stop controls (plus if it errors it may restart and resend the corrupted packets) on top of the bits in the file itself. Network overhead can be a bitch. ;) To get to 70 MB you must have has some problems and resent big chunks of the file in there though.

In other words...there's static on your land line. Or a connection problem with our DSL/cable.
 
Bob_Bytchin said:
In other words...there's static on your land line. Or a connection problem with our DSL/cable.

Very possible. It could be a breakdown anywhere in the chain though. Some hosting sites are really bad when you try to upload files to them.
 
ma_guy said:
Because when you upload it takes the original 22MB file and adds lots of error checks and start and stop controls (plus if it errors it may restart and resend the corrupted packets) on top of the bits in the file itself. Network overhead can be a bitch. ;) To get to 70 MB you must have has some problems and resent big chunks of the file in there though.
I understood that the primary difference between FTP and HTTP was the former employed error checking and retransmission in the protocol, wihch the latter dropped in favor of speed.



Umm... that is, if a cyberbartender is capable of understanding what he overhears from the patrons...
 
LukkyKnight said:
I understood that the primary difference between FTP and HTTP was the former employed error checking and retransmission in the protocol, wihch the latter dropped in favor of speed.

Umm... that is, if a cyberbartender is capable of understanding what he overhears from the patrons...

There are big differences in the protocols but they both have a means of error checking (FTP's is more accurate) and control codes. FTP is a single data stream at a time while HTTP allows multiple streams. FTP also copies the file to memory while HTTP doesn't need to.
 
ma_guy said:
Because when you upload it takes the original 22MB file and adds lots of error checks and start and stop controls (plus if it errors it may restart and resend the corrupted packets) on top of the bits in the file itself. Network overhead can be a bitch. ;) To get to 70 MB you must have has some problems and resent big chunks of the file in there though.
I know about simple binary protocol overhead, and I could believe it was that if the uploaded bytes showed an extra 20-30%, but an extra two-hundred percent? No.

BB - I looked at my cable modem status page and I don't see any problems. It shows it locked and a good signal strength.

Okay - I just did a test, I uploaded a 5 MB (approx.) file to my website. I had DUMeter and ZA showing their uploaded bytes status at the same time. DUMeter showed 5 MB going up at about 30 KBytes/sex (pretty good as I am rated for a little less than that) and ZA showed over 12 MBs transfered.

I don't think I am going to believe what ZA says with regards to bytes transferred anymore.
 
Romial said:
Zone Alarm sucks
The version I have is free and even though I now have a hardware firewall, I still find it useful to keep certain things under control. Hardware firewalls do not control outbound port requests on a process by process basis, ZA does.
 
ruminator said:
Is there a chance it's transferring a log file with it?
No - the problem turned out to be that ZA is apparently wildly inaccurate about how it counts uploaded bytes.
 
The Heretic said:
No - the problem turned out to be that ZA is apparently wildly inaccurate about how it counts uploaded bytes.

Most of my vehicle speedometers apparently are like that too.

:D
 
Back
Top