Re: how do i do this - stream file

From: Larry Bates (lbates_at_swamisoft.com)
Date: 08/03/04


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.



Relevant Pages

  • Re: File associations
    ... a File Extension - If there isn't actually a File Extension on the ... If you do want to Create any particular File Association, ... & Internet Explorer actually just *ignores* the MIME Type ...
    (uk.people.silversurfers)
  • Re: My signature on e-mails
    ... :: Andy doesn't know where on your hard drive the signature jpg is stored. ... :: must change the file type to All Files. ... :: If you don't change the file type, your htm file will be .htm.txt. ... :: Then save the file and give it an htm file extension. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Help Opening ppt file
    ... I'm trying to update Office 2003. ... "It could be that the file extension information has become corrupt and the ... Changing a File Association, Repairing broken File Associations ...
    (microsoft.public.powerpoint)
  • Re: Access VBA
    ... If you open the document using the hyperlink, you can always get a reference ... > Opening an instance of Word using CreateObject lets you use automation on ... > Doug Steele, Microsoft Access MVP ... >> look at the file extension and open the correct application? ...
    (microsoft.public.access.modulesdaovba)
  • Re: PATH Environment Variable Trouble
    ... have set for the .pl file extension. ... This might well be something I've done wrong with Perl after all. ... The problem is the %1 in the file association. ... are supposed to be passed to the script. ...
    (microsoft.public.windowsxp.general)