I'm trying to upload some files to my bucket on S3 through boto3 on Python.
These files name are websites addresses (for example www.google.com/gmail).
I want the file name to be the website address, but in fact it creates a folder with name "www.google.com" and inside the uploaded file with name "gmail"
I tried to solve it with double slash and backslash before the trailing slash, but it didn't work.
Is there any way to ignore the trailing slash and upload a file that its name is a website address?
Thanks.