Re: Connecting to SMB share in python

2008-09-25 Thread Tim Golden
Ronnie Kwok wrote: 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. I'm not really a Linux person but from all I ca

Re: Connecting to SMB share in python

2008-09-25 Thread Diez B. Roggisch
Ronnie Kwok wrote: > 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. None that is

Re: Connecting to SMB share in python

2008-09-25 Thread Ronnie Kwok
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, Ti

Re: Connecting to SMB share in python

2008-09-25 Thread Tim Golden
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 t

Connecting to SMB share in python

2008-09-25 Thread Ronnie Kwok
Hello, I am trying to write a script that copy files from my local machine to a samba share. I've notice a library call Pysamba which is a wrapper on smb service but it requires a compilation of SAMBA with some amendment in order to use it. Are there alternative method that I could do the same t