Jump to content



256 Byte Barrier On Urllib Retrieve

  • Please log in to reply
No replies to this topic

#1 thornhawk


    X-S Enthusiast

  • Members
  • 2 posts

Posted 04 April 2008 - 06:58 AM


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

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


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users