• Resolved fabl3

    (@fabl3)


    Hello,

    I am looking to offer a number of free downloads on my WP WooCommerce store and want to use Simple Download Monitor to manage these behind a WP password protected page. I want to host the free download files on Google Drive and manage them there.

    I have hit an issue with the plugin, as it is not correctly translating the button link https://website.com/?smd_process_download=1&download_id=1234 to the downloadable file URL when using a Google Drive File Direct Download Link. When the link of https://drive.google.com/uc?export=download&id=1234567890 is added as the Download URL, when the translation happens from the SDM side, i get a “Bad Request Error 404” as the Google Drive URL is incorrectly translated as:-

    https:/ /drive.google.com/uc?export=download& #038; id=1234567890
    (Please note: I have added a space before and after the #038; to display the URL in text form, otherwise you do not see it).

    The URL translation has added the & encoding #038; to the URL and it fails. Manually remove this #038; encoding in the browser address bar and the download works fine.

    • This topic was modified 3 years, 4 months ago by fabl3.
    • This topic was modified 3 years, 4 months ago by fabl3.
    • This topic was modified 3 years, 4 months ago by fabl3.
    • This topic was modified 3 years, 4 months ago by fabl3.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, the following file URL gives me a 404 error file not found. Are you sure the URL is correct?

    https://drive.google.com/uc?export=download&id=1234567890

    Kind regards.

    • This reply was modified 3 years, 4 months ago by mbrsolution.
    Thread Starter fabl3

    (@fabl3)

    I changed the id, to protect the file that I am going to give away to signed up members of our site. That 1234567890 is an example id.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Thank you for sharing more information. I have submitted a message to the developers to investigate further your issue.

    Kind regards.

    Plugin Author mra13

    (@mra13)

    This should be fixed in the new version that we just released. Please upgrade it when you can.

    Thread Starter fabl3

    (@fabl3)

    Many thanks, works a treat!

    Plugin Support arnodorian

    (@arnodorian)

    Glad to hear it is working now. Our support all the time with you.
    Have a good day!

    Hi
    I have a similar issue with my website, but this one has no spaces …. but it does not show the filename that I want to download … but just a zip file name …
    could you please look at it?
    https://akshayagency.in/index.php/binance-agency/100-best-selling-e-books/

    I am making a downloadable list of files from my google drive … but the file doesnt download .. it says
    “Critical error has occured on the website.”

    Plugin Contributor mbrsolution

    (@mbrsolution)

    @rsreeram50, please start a new support thread. This one is already marked as resolved.

    Thank you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Issue with Google Drive download link & encoding’ is closed to new replies.