How to upload files to Amazon S3 by using url class

Hi, jules
How are you?
I want to upload files to amazon S3, and how to make this connection between program in laptop and s3 through url class?
To access s3 , s3 needs to authenticate id and key first, is url class able to do this?

Thanks!
Leon

Well, I don’t know how S3 works… The URL class won’t do an FTP for you, but you can do an http post with the URL::withFileToUpload method.