zip a huge file into multiple small ones

Chris Rebert clp2 at rebertia.com
Tue Sep 8 02:35:11 EDT 2009


> On Mon, Sep 7, 2009 at 5:31 PM, Chris Rebert <clp2 at rebertia.com> wrote:
>> On Mon, Sep 7, 2009 at 4:57 AM, Chris Withers<chris at simplistix.co.uk>
>> wrote:
>> > krishna chaitanya wrote:
>> >> I am new to dealing with zip files in python.
>> >> I have a huge file which i need to zip and send as an attachment
>> >> through
>> >> email.
>> >> My email restrictions are not allowing me to send it in one go.
>> >> Is there a way to split this file into multiple zip files, so that i
>> >> can
>> >> mail them separately.
>> >> All the individual zip files should be linked.
>> >> I should be able to extract the original file by extracting the first
>> >> of
>> >> the small zip files.
>> >
>> > You're using the wrong medium. Upload the file to an http server
>> > somewhere
>> > and just include a link in the email...
>>
>> One such free service, among many others:
>> http://drop.io/

On Mon, Sep 7, 2009 at 10:14 PM, krishna
chaitanya<chaitu.dec14 at gmail.com> wrote:
>
> Can i automate this process of uploading the zip file into a http server and
> getting the public url for that?

If you're using your own server, certainly.
If you're using a third-party service, they need to have an API.
Drop.io apparently does: http://api.drop.io/

Cheers,
Chris
--
http://blog.rebertia.com



More information about the Python-list mailing list