Calling ftp commands from python
Steve Holden
steve at holdenweb.com
Wed Aug 31 17:40:48 EDT 2005
Thierry Lam wrote:
> Is it possible to run an ftp command to connect to some remote computer
> on the network.
>
> For example, if I want to retrieve some data from
> \\remcomputer\datafiles on the network and copy it to my local
> computer, how do I do it in python on the Unix side?
>
> I don't want to use mount since I don't have permission.
>
> Thanks
> Thierry
>
http://www.holdenweb.com/Python/PDCode/ftpStream.py shows you how to
drive a remote FTP server using an object-oriented approach. Don;t know
whether it'll help.
regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/
More information about the Python-list
mailing list