• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

404 Error Getting For Downloading File

hackedia

New Pleskian
Hi
I'm hosting files from plesk but one problem acquiring with downloading like this
h93yRYY.png

qoOgw72.png

Or When I Removed Dashes Or Replaced Dashes(%) With - then it's working fine but i need to do this everytime so anyone have better solution for that how to download dashes(space) enabled name file ??
 
you have to add the extension to the MIME-Type list under: website&domains then in the selected domain in the iis settings: add application/apk .apk to the MIME-Types
 
It's the limitation of the IIS, what you can do is create a web.config file with the following code inside that directory should help resolve the issue:

Code:
<system.webServer>
    <security>
            <requestFiltering allowDoubleEscaping="true" />
    </security>
</system.webServer>

Alternatively you can rename the file so there is no spaces at all.
 
In Directory Like In Home directory or In http docs ?? And i need with spaces because i have no time for removing dashes everytime because i'm using plesk as file hosting :)
 
In whatever directory that has the dashes so in this case would be httpdocs/download/android-apps

Alternatively you can go rdp to the server (if you have the ability to) and enable Allow Double Escape in the IIS settings (sorry, I don't have a windows server box at the moment to find out where exactly or to test it myself)
 
After Uploading web.config file in httpdocs/download/android-apps I'm Getting 500 internal server error :(
6fdyKOF.png

9pDKkqL.png
 
Thanks... Guys I Have Fixed The Issue What I Did ? :)
hSmAPtV.png

To allow double escaping, you need to GO to IIS Manager, click Request Filtering -> Query Strings tab and on the right click Edit Feature Settings Then Tick On "Allow Double Escaping" Done :)
 
Back
Top