I am trying to copy files to a location which requires access permissions(has UserID and Password to access the folder).
Is there a parameter or any special command to copy files to location which requires UserId and password?
Currently, I am using shutil.copy2
to copy files but getting below error:
PermissionError: [Errno 13] Permission denied: