I'm trying to do a very simple thing (I think) which is copying a file from a server to my local computer. Both are in the same local network or at least i have permissions to access (since it answers to a ping). Here's the code I'm using:
import shutil
shutil.copy(r'serverIP\C:\Route\File.xlsx',r'D:\OneDrive\Documentos\File.xlsx')
And im getting the following error even though the file does exist:
FileNotFoundError: [Errno 2] No such file or directory: '\\\\serverIP\\C:\\Route\\File.xlsx'
Am I missing something on my command? Am I writing correctly the serverIP path?
If not by shutil, how would you address this need? I've got all of the information about the server but thing is I really have no experience with networks.