Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter meg12345

    (@meg12345)

    THANK YOU!!!!

    It worked!! 😀

    I really really appreciate your perseverance with this issue. The solution was so simple!

    Thread Starter meg12345

    (@meg12345)

    Thanks so much Balint, it’s very helpful to know that this is worth doing!

    My downloads folder which I created and have been trying to purchase from is created outside my public_html. (on the same level as it is)

    Yes, I used stripe to make a test purchase, and the link came up on the next screen, and when this was opened I am receiving my error. I also got an email with the link to download, but have not been trying those.

    I have tried several combinations for file urls which I have been getting by copying them through cyberduck and transmit as described in the article. The ones that give me the link begin with http. The ones beginning with ftp seem to give me an error immediately:

    The downloadable file
    ftp://xxx(my server number)xxxxx/downloads/xx(my file name)xxx.zip cannot be used as it does not exist on the server.

    For the file urls beginning with http, my file looks like this:
    http://xxxxxxx.xxx/?download_file=xxxx&order=wc_order_xxxxxxxx&email=xxxx%40gmail.com&key=xxxxxxxx

    I appreciate your attention to detail here, thanks so much for your continued support.

    Thread Starter meg12345

    (@meg12345)

    My web hosting provider is struggling to help me. They changed my file permissions but it makes no difference to my outcomes. I can’t tell if what I am trying to do by storing the files above my webroot is possible.

    ETA: I suppose what I’m really asking is how to ensure the safety of the files I wish to sell. Is it necessary to create a non-publicly accessible or encoded link to my files. How is that best done?

    • This reply was modified 9 years ago by meg12345.
    Thread Starter meg12345

    (@meg12345)

    Thanks so much Balint,

    The test portion is the test text file I was playing with. It is the file I wanted to allow people to purchase through woocommerce, and download. Once I get this sorted out, it will be a music album.

    When I remove the ftp I get another error
    ERROR 404
    THE REQUESTED URL WAS NOT FOUND ON THIS SERVER.
    THAT IS ALL WE KNOW.

    My test file is currently stored above my webroot though, so I believe this is where I am misunderstanding.

    The reason I was doing this was as I understand it, It prevents the link from being copied and redistributed as explained in this article:
    https://www.sellwithwp.com/how-to-create-woocommerce-secure-downloads/

    Would you please skim it for me and let me now if the directions in this article are not necessary/impossible to do?

    If I upload my files straight through the “choose file” window are they at risk of being passed around? I plan on learning more about .htaccess rules next.

    My next step right now is to look into the file permissions. Thanks so much for your patience and assistance. 🙂

    Thread Starter meg12345

    (@meg12345)

    Thanks for your prompt reply.

    This occurs no matter the ftp server I use including Transmit, and the one available through bluehost. I will check in with coocommecre as well – thank you for the link.

Viewing 5 replies - 1 through 5 (of 5 total)