On 22-sep-2005, at 14:28, Simon Brunning wrote:

On 9/22/05, Simon Brunning <[EMAIL PROTECTED]> wrote:

I want to use a python script to copy some files from a Windows share
to my Mac. Connecting to a Windows share with Finder is easy, but how
do I do it from a script? (Python 2.4.1 on OSX 10.4.2, if it matters.


Found it. You need to invoke mount_smbfs via subprocess or whatever.

Another option is scripting smbclient(1).

Ronald


--
Cheers,
Simon B,
[EMAIL PROTECTED],
http://www.brunningonline.net/simon/blog/
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to