I have read through the various tutorials and searched the threads but I have a still have a simple question regarding digital downloads.
I am new to Cubecart so bare with me
Ok, I want to add a secure path for my downloads, but I am unsure whether it is going to be publically accessible. My path is as follows (changed a bit for security):
/server_name/home_pages/14/user_name/htdocs/web_site_folder_name (e.g. JohnsMedia)
Now if I create another folder named downloads within the htdocs I think that means that it will still be accessible to the public.......is that correct??? Or is that actually outside the public access?
In my FTP explorer panel I have www.mysitename.com. Now within that folder there are many sub directories that store information for separate web pages e.g. johnsmedia, Now i added a folder named downloads and added a test index.html file into that folder. But if I go to www.mysitename.com/downloads/test.html the web browser cannot find that page - so is this saying that its outside of the public access?? I have checked thoroughly that the URL is correct so it can't be a mis-spelling.
I noticed that inside my admin for my webpage I can make public directories secure by adding a username and password to them - would that be easier? I cant see why I cannot make use of this tool?
Any helo would be great.
Regards,
Jonathan
EDIT: I just set up a test/dummy business account using PayPal API. I set the product price to 1pence. The money was transferred successfully to the business account, but I got the message 'Sorry your purchase failed' (well it was similar to that I cant remember lol). I guess this is because the Server Root Path i applied to the product was incorrect. Is that the most likely answer??
EDIT2: I have been playing around with the server root path and I managed to get a successful transaction completed......BUT the link in the confirmation email gave errors of the following nature:
Warning: filesize() [function.filesize]: Stat failed for /htdocs/downloads/1.mp3 (errno=2 - No such file or directory) in /server_name/home_pages/14/user_name/htdocs/web_site_folder_name/download.php on line 64
Warning: Cannot modify header information - headers already sent by (output started at /server_name/home_pages/14/user_name/htdocs/web_site_folder_name/download.php
Any ideas?? :-(
PS is it safe to post my proper server root path?
