uploading file to s3 bucket but my code shows error
all_pdfs=pathlib.Path(base_folder+'\\selenium_controller\\psdf\\')
file_path=all_pdfs
print(file_path)
for file in all_pdfs.glob('*.pdf'):
print(file)
file_main=str(str(file).split("\\")[-1])
aws_textract = AWSTextract()
s3_client = aws_textract.connect_S3()
aws_textract.upload_to_s3(s3_client, str(file_path),str(file_main) )
error
[Errno 13] Permission denied: 'E:\\all_projects\\v1.0.0\\static\\selenium_controller\\psdf'