Arduino Ethernet Shield - Speed transmission

Hi!

I have implemented a webserver with an Arduino Mega 2560 and a Ethernet Shield.

When I login into the webserver locally, the transmission speed of the files/data is fine, but when I login through Internet the transmission speed is more slow. At home, I have aproximately 100 kB/s of upload speed. Do you know why?

TY!

EDIT: I use the new Ethernet 2.0 library.

it must pass the infrastructure and id you do not use buffering then many small packets could be passing it slower then in LAN. Try StreamLib