List Info

Thread: network copy




network copy
user name
2006-04-24 10:18:42
[le dahut]

| What is the best way to copy files from a windows/samba
share without 
| connecting a network drive using python ?

Well, to answer your question two ways...

For general copying-a-file on windows stuff, have a look
here:

http://timgolden.me.uk/python/win32_how_do_i/copy-a
-file.html

To refer to a Windows / Samba share, use a UNC:

\\server\share\some\path\filename.txt

TJG

____________________________________________________________
____________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a
proactive
anti-virus service working around the clock, around the
globe, visit:
http://www.star.net.uk
____________________________________________________________
____________
_______________________________________________
Python-win32 mailing list
Python-win32python.org

http://mail.python.org/mailman/listinfo/python-win32
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )