Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to write a script that would import a .shp on the YUMA to a gdb on the script/host pc for manipulation with arcpy. I can't seem to find a smb python module. So Im not entirely sure on how to do this.

Have I just not found it? surly its came up before.

share|improve this question
The only other thing I can think of is. ftputil and a filezilla server on the YUMA. But I'd rather go the smb route. – Zap Rowsdower Apr 10 '11 at 23:42
up vote 1 down vote accepted

You theoretically shouldn't need any special SMB module to copy files from one Windows PC to another. You can just use shutil and/or CopyFeatures and the \\machine\directory style path to copy to or set the share up as a network drive and copy it to Z: or whatever letter you wind up giving it. You could also refer to this solution from StackOverflow if you need to authenticate against the network share at run time as well.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.