xboxscene.org forums

Author Topic: 256 Byte Barrier On Urllib Retrieve  (Read 86 times)

thornhawk

  • Archived User
  • Newbie
  • *
  • Posts: 2
256 Byte Barrier On Urllib Retrieve
« on: April 03, 2008, 11:58:00 PM »

Hi,

Does anyone know why there is a 256 byte barrier on urllib retrieve, when trying to download a txt file? It will only download files that are bigger than 256 bytes IF they are proper images, well formed xml files, etc... but it will NOT download files that are normal text.

I'm following the code from http://xbmc.org/wiki...Python_Tutorial
specifically:

loc = urllib.URLopener()
loc.retrieve(source, destination)

Thanks
Logged