1051
General SMFShop Discussion / Re: download xxx file
« on: January 29, 2006, 01:06:07 pm »
Make sure you're using the proper file path (where it says 'File Path (INCLUDING FILE NAME)'). Your directory layout should be something like this:
/home/[username]/public_html/ -- Public HTML folder
/home/[username]/public_html/forum/ -- Forum folder
/home/[username]/files/ -- The folder you store your files in.
[username] = cPanel username
If you're using cPanel, then the layout will be pretty similar. Make a 'files' folder OUTSIDE of the public_html folder, otherwise, if someone knows the name of the folder, they can download anything from it without paying!
If it still doesn't work, use the absolute path in the 'File Path' field (for example, "/home/[username]/files/test.jpg"). It should work for you
/home/[username]/public_html/ -- Public HTML folder
/home/[username]/public_html/forum/ -- Forum folder
/home/[username]/files/ -- The folder you store your files in.
[username] = cPanel username
If you're using cPanel, then the layout will be pretty similar. Make a 'files' folder OUTSIDE of the public_html folder, otherwise, if someone knows the name of the folder, they can download anything from it without paying!
If it still doesn't work, use the absolute path in the 'File Path' field (for example, "/home/[username]/files/test.jpg"). It should work for you