[Tutor] ftplib
lumbricus@gmx.net
lumbricus@gmx.net
Mon, 23 Jul 2001 21:18:31 +0200
Hi all!
On Mon, Jul 23, 2001 at 02:27:28PM +0000, rortega@cfl.rr.com wrote:
> Hi I recently wrote my first python script. What it does is take a file and
> uploads it to an FTP server using ftplib. It works fine as long as the computer
> it runs on is conected to the internet directly but I would like to know if I
> can get this to work through a proxie server.
> Thanks
>
hmm... the urllib module sees the environment variables
http_proxy, gopher_proxy and ftp_proxy.
so setting and exporting these variables should solve your
problem but YMMV.
HTH and Greetings J"o!
:-)
--
Nothing is so firmly believed as that which we least know.
-- Michel de Montaigne