Re: how do i do this - stream file
From: Larry Bates (lbates_at_swamisoft.com)
Date: 08/03/04
- Next message: Jørgen Cederberg: "Re: intersection of 2 strings"
- Previous message: Christopher T King: "Re: how do i do this - stream file"
- In reply to: Ajay: "how do i do this - stream file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 3 Aug 2004 09:03:21 -0500
Actually this can happen automatically. If the
user's machine doesn't have a file association for
the file extension of the file that they click on
the browser automatically displays a open/save
dialog for them when they click on the hyperlink.
If they have an association defined on their machine,
for the extension it launches the application when
they click the hyperlink. On Windows this behavior
is configurable. They can always right click on
hyperlink and choose save instead.
HTH,
Larry Bates
Syscon, Inc.
"Ajay" <abra9823@mail.usyd.edu.au> wrote in message
news:mailman.1083.1091521022.5135.python-list@python.org...
> hi!
>
> How do i create and stream a file?
> On a webpage i have a link to a file. Next to it i would like link, which,
> when pressed, runs a script that calculates the signature of the file,
> pickles the signature to a file and then gives a dialog box asking the
> user whether they would like to save the file or open it.
>
> I have the script to do the signing and pickle the signature into a file,
> but how do i allow the user to download it?
>
> thanks
>
> cheers
>
> --
> Ajay Brar,
>
>
>
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
- Next message: Jørgen Cederberg: "Re: intersection of 2 strings"
- Previous message: Christopher T King: "Re: how do i do this - stream file"
- In reply to: Ajay: "how do i do this - stream file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|