Stream download a zipfile and process it while still downloading

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
MisterX Offline
Junior Member
Posts: 11
Joined: Sep 2013
Reputation: 0
Post: #1
Hi people,

I was wondering if it was possible to start downloading a zipfile (with e.g. 2 files in it) and already use the files... (like an avi file and a srt file).
I need both to be on the system for it to work.

Is this possible with python?
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #2
it's possible but fairly certain you have to implement your own .zip handling. also you have to be in luck such that the srt is first in the archive, if not you're definitely SOL.
find quote
MisterX Offline
Junior Member
Posts: 11
Joined: Sep 2013
Reputation: 0
Post: #3
Thank you for your reply.
I'll work my way around it for now, but nice to know it can be done
find quote