On Apr 21, 10:02 pm, Tim Roberts <[EMAIL PROTECTED]> wrote:
> "Ralf" <[EMAIL PROTECTED]> wrote:
>
> >is there anybody who can help me.
> >I would like to use a Python Script to download Files from a Server to the
> >Client, to update the Client.
>
> Remember, though, that a CGI script cannot actually put files anywhere. You
> can certainly download files to the client browser, but the user will have
> to be involved to tell the browser where to store the incoming file.
>
> Doing anything else would be a security hole.

But a CGI script can send a file in response to an automated request
from a client application, without ever needing a browser to be
involved.

Sending the right headers means that existing libraries (urllib2 I
guess) will know how to handle the response.

Fuzzyman
http://www.voidspace.org.uk/python/articles.shtml

> --
> Tim Roberts, [EMAIL PROTECTED]
> Providenza & Boekelheide, Inc.


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to