xg04 Posted July 29, 2005 Share Posted July 29, 2005 Hi I want to make the product downloadable after purchasing. Based on the artical in knowledge base, I should: Make sure the /catalog/pub folder is 777 and /catalog/download folder is 755 and these lines in catalog/includes/configure.php have the forward slash: define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); But Could anyone show me what is 777 or 755? Are they line numbers? Where can I find them? How to change them? Thank you in advance. XG04 Link to comment Share on other sites More sharing options...
♥Vger Posted July 29, 2005 Share Posted July 29, 2005 755 and 777 are permission settings for those folders. 777 means 'full permissions' or read-write-execute for all - this applies just to the folder and not what's in the folder. It's probably going to be easiest for you if you have no experience with setting permissions to use the File Manager in your web hosting control panel to set the permissions on those folders. Vger Link to comment Share on other sites More sharing options...
Guest Posted July 29, 2005 Share Posted July 29, 2005 You ideally need an FTP program (eg Smart FTP, Filezilla, Cute FTP are all free). Then log into your FTP account for your website, locate the catalog folder (may be in a folder like httpdocs/ or similar), then right click on the folder named downloads, and there should be an option to CHMOD - when the window comes up just tick or amend the settings so that 755 appears. Repeat for the folder named pub, except make that 777. Upload the material you want folks to be able to download into the download folder. Next, in the admin screen, go to My Store and select the download option : Enable download true Download by redirect true Expiry delay (days) (you choose - I use 5 for music) Maximum number of downloads (you choose - again I use 5) Then, after creating your items in admin (categories-/products) you'll need to add product attributes to each item so that the system knows these products are downloads. You click on product attributes in the left hand menu in admin (under categories), on the left hand side of the screen that comes up you'll need to create a new attribute called Download. On the right hand side of the screen you need to add the option values to tell the system what it is folks will be downloading (eg I use FLAC and MP? as two distinct categories at my music download site). Once you've added those, go to the pull down menu at the bottom - all your products will be in there : locate the products you wish to make downloadable, and then set the relevant information up in there. Worth seeking out Download Controller 5.3 contribution - also dovetails neatly with the Paypal IPN module and Master Products - you can see it all in action at www.fallshop.co.uk/shop Hope that helps :) Link to comment Share on other sites More sharing options...
♥Vger Posted July 29, 2005 Share Posted July 29, 2005 You ideally need an FTP program chmod only works on Apache servers, and so FTP is useless for setting file permissions if the site is hosted on a Windows server. For an inexperienced poster, especially when you don't know the server type, it's best to recommend the File Manager route :D Vger Link to comment Share on other sites More sharing options...
xg04 Posted July 29, 2005 Author Share Posted July 29, 2005 Vger & Clayts: Thank you very much! XG04 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.