Re: write file to a server

2015-01-28 Thread luca72
thanks for the reply i have resolve with the r'.' i have another question on linux i write cp -Ruv source destination There is one way to do it in python? with shutil there is copythree but if the dest dir exist he give back an error. Can you give me some ideas Thanks Luca -- https://ma

Re: write file to a server

2015-01-28 Thread Chris Angelico
On Thu, Jan 29, 2015 at 5:05 AM, Mark Lawrence wrote: > Windows will accept forward slashes in path names. Normally, yes. Does that work for UNC names too? //server/share/pathname ? In any case, that's an alternative solution to the same problem. ChrisA -- https://mail.python.org/mailman/listin

Re: write file to a server

2015-01-28 Thread Mark Lawrence
On 28/01/2015 14:12, Chris Angelico wrote: On Thu, Jan 29, 2015 at 12:38 AM, MRAB wrote: On 2015-01-28 13:22, luca72 wrote: Hello i'm under windows, i have to write a file from my computer to a local server like taht "\\DOCUMENTALE\my_folder\". How i have to proceed ? That's a path to a fol

Re: write file to a server

2015-01-28 Thread Chris Angelico
On Thu, Jan 29, 2015 at 12:38 AM, MRAB wrote: > On 2015-01-28 13:22, luca72 wrote: >> >> Hello i'm under windows, i have to write a file from my computer to a >> local server like taht "\\DOCUMENTALE\my_folder\". >> How i have to proceed ? >> > That's a path to a folder that just happens to be on

Re: write file to a server

2015-01-28 Thread MRAB
On 2015-01-28 13:22, luca72 wrote: Hello i'm under windows, i have to write a file from my computer to a local server like taht "\\DOCUMENTALE\my_folder\". How i have to proceed ? That's a path to a folder that just happens to be on another computer on your network. Treat it the same way you wo

write file to a server

2015-01-28 Thread luca72
Hello i'm under windows, i have to write a file from my computer to a local server like taht "\\DOCUMENTALE\my_folder\". How i have to proceed ? Thanks -- https://mail.python.org/mailman/listinfo/python-list