alibaba-cloud

How do I stop Object Storage Service file links from expiring?

主宰稳场 提交于 2021-01-29 09:13:39
问题 I have been using OSS (Object Storage Service) buckets to store videos and I need links that don't expire. When I generate a link in OSS browser I get the option to set the time of expiry, but there is no option to turn the expiry off. Is there any way to generate links that do not expire? 回答1: There is only one way to do it. You can change the bucket ACL to a public or public read (please remember about the risk of data leak) or better solution could be to change ACL for an object only.

DirectMail SingSendMail not working

拥有回忆 提交于 2019-12-11 07:05:03
问题 I am trying the singleSendMail API from Alibaba Cloud's DirectMail, the request looks something like this https://xx.xxxx.com/?Action=SingleSendMail &AccountName=test@example.com &ReplyToAddress=true &AddressType=1 &ToAddress=test1@example.com &Subject=Subject &HtmlBody=<body><h2>Test</h2></body> I get a 400 error MissingParameter 回答1: The Alibaba Cloud REST API has two sets of parameters plus the signature that you must include in your request. Using Python as an example, you need to specify

Windows Server 2016 IIS hosted website failed to load dll on a remote file share on AlibabaCloud

六月ゝ 毕业季﹏ 提交于 2019-12-08 06:46:05
问题 I hit an issue on IIS and it bothers me for many days. After I searched all over the web, I still cannot find the right answer so it is time to post on StackOverflow to seek help. I created a Windows Server 2016 VM on Alibaba Cloud and an SMB file share on Alibaba Cloud. Then I followed this instruction (https://github.com/AlibabaCloudDocs/nas/blob/master/intl.en-US/Best%20Practices/Use%20Windows%20IIS%20and%20NAS%20to%20provide%20Web%20and%20FTP%20services.md) to put my website on the file