File transfer with python
Jan Kaliszewski
zuo at chopin.edu.pl
Wed Jan 6 16:42:21 EST 2010
Valentin de Pablo Fouce <thimxx at gmail.com> wrote:
> Ok, I am trying to do a very quick application (is "home based" so is
> not a big deal...). My intention is to transfer files from one
> computer to another.
> My intention is to be able to transfer files from one computer to
> another in this environment.
>
> Looking (and surfing) at internet the only suggestion given is to use
> low level sockets for this file transfer. Is there another way to do
> it, is there any top level library that helps you to do that?
Python standard library offers tools for HTTP communication (rather easy
to use) -- see:
http://docs.python.org/library/simplehttpserver.html
http://docs.python.org/library/cgihttpserver.html
http://docs.python.org/library/basehttpserver.html
-- as well as:
http://docs.python.org/library/urllib.html
http://docs.python.org/library/urllib2.html
Cheers,
*j
--
Jan Kaliszewski (zuo) <zuo at chopin.edu.pl>
More information about the Python-list
mailing list