如果oss需要用户方式时会强制下载功能,且需要下载后保存其他文件名。可以在oss设置http头Content-Disposition参数设置。
方法如下:
attachment; 强制下载
filename="123321.jpg" 文件下载保存文件名为123321.jpg