简体   繁体   中英

Linux not allowing to download filename with spaces

I am not able to download the file whose filename has spaces in between them. Is there anything that can be done to make this work?

NOTE: From Windows Server,I am able to download

But from Linux Server I am not able to download

Ubuntu -Server is what I am using

<a target="_blank" href="http://www.somewebsite.com/68805/41/Junior (6).pdf" download="Junior (6).pdf">Download</a>

error: Failed-Server Problem

It should be

<a target="_blank" href="http://www.somewebsite.com/68805/41/Junior%20(6).pdf" download="Junior%20(6).pdf">Download</a>

Difference is the URL-encoded space.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM