Connecting to SMB share in python

Ronnie Kwok rokwok at newsguy.com
Thu Sep 25 06:18:25 EDT 2008


Thank you for the reply!

Yes, I am running the script under linux and it will be doing some 
processing before copying it over to the samba mount.

It's totally fine to mount it with os.sys(...) approach but I am just 
thinking if there's other option.

ronnie


On 2008-09-25 16:36:35 +0800, Tim Golden <mail at timgolden.me.uk> said:

> Ronnie Kwok wrote:
>> Hello,
>> 
>> I am trying to write a script that copy files from my local machine to a samba
>> share.
> 
> 
> Can't you just mount the share (albeit temporarily) and copy
> the files over in the normal way? You haven't said what OS
> you're on, but I'm assuming Linux otherwise you'd simply be
> talking about a Windows share and copying to a UNC.
> 
> TJG





More information about the Python-list mailing list