Connecting to SMB share in python

Tim Golden mail at timgolden.me.uk
Thu Sep 25 04:36:35 EDT 2008


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