need to upload object thorugh scripting in s3 bucket
getting error C:UsersPradnya JoshiDesktopScript>python s3upload-flookup.py -source “C:UsersPradnyaJoshiDesktopTASKS” -bucket “datasync-bucket-18-april” -days “7” -date “24/04/2024”
INFO:botocore.credentials:Found credentials in shared credentials file: ~/.aws/credentials
ERROR:root:Couldn’t list files
expected string or bytes-like object, got ‘NoneType’
CRITICAL:root:Please specify the -days or -date flags
i have tried this command python s3upload-flookup.py -source “C:UsersPradnyaJoshiDesktopTASKS” -bucket “datasync-bucket-18-april” -days “7” -date “24/04/2024”
to upload backup to s3 but getting error mentioned as couldnt list files
Pradnya Joshi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.