Can cross-domain download files with a tag be renamed?
phpcn_u153
phpcn_u153 2017-05-23 09:26:40
0
2
1860

Can cross-domain download files with a tag be automatically renamed when clicking download?
The file is not on my server
I don’t want to save this file on my server
Is there a way for users to automatically rename the file name when downloading by clicking on the a tag?

phpcn_u153
phpcn_u153

reply all(2)
大家讲道理

Currently only Chrome supports this feature:

<a href="..." download="file.mp4">Download</a>


大家讲道理

You can use the download attribute in HTML5:

<a href="https://www.baidu.com/img/bd_logo1.png" download="baidu">


Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template