Python and SSL sockets

Gerhard Häring gh at ghaering.de
Sat Apr 19 05:28:57 EDT 2003


Elester Johnson wrote:
> Hi Friends,

People posting 9 KB of HTML (and in your case, even imgages, too) for a 
two-line question to a mailing list are definitely NOT my friends.

Please stop sending that junk NOW.

> How do I transfer an HTML file from a windows machine to a linux 
> machine (server), using SSL sockets.

I'd suggest to try uploading the file via HTTPS. Because Pre-2.3 Windows 
versions of Python aren't built with SSL support, you'll need my 
_socket.pyd replacement:

http://pypgsql.sourceforge.net/misc/python-ssl.html

-- Gerhard





More information about the Python-list mailing list