On one of our users machine copying file to server is unable via python:
shutil.copyfile(filepth, new_file)
returns IOError: [Errno 22] Invalid argument
as if there are no rights for the user. Server is connected via OpenVPN as all other users do. Connection is good. The user can put files manually to this server. OS is Windows 10, I tried also to disable Windows Firewall and to install all Windows updates but nothing helps.
What works:
copying files manually
copying them via cmd like
C:UsersLaney>copy \space2fixies4OUTANIMATIONSmayamovieep177animationep177_sc027.mov \space2fixies4OUTANIMATIONSmayamovieep177animationarchiveep177_sc027.prev.11.mov
copying via python (shutil, subprocess, os.system) files locally, not to the server
What does not work:
any python operation (shutil, subprocess, os.system) similar to cmd copy
Any ideas? Thanks in advance
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…