Hi.

I have installed e-commerce and want to start selling downloadable products.

I have set my file system path which looks something like /home/*********/*/*******.com/user/htdocs
in the "file download settings" page.

Now, when I go to create content>product>File download product I can create a product to sell, but I can not upload the file onto the server. If I create a file called "downloads" I am unable to ftp anything to that file, recieving "access denied" error.

Would really appreciate it if someone could explain how to set up a downloadable product. Have searched here and elsewhere, and read the manual but couldn't fond anything to help me.

Many Thanks

Comments

cog.rusty’s picture

Drupal cannot write into your htdocs directory (where I assume you have installed Drupal) because the permissions of that directory (usually 755) don't allow that. Create and use another files directory, with the proper permissions.

In your /admin/settings/file-system page

- if you have selected "Download method: Public" then set it to just "files", create a "files" directory under "htdocs", and set its permissions to 777.

- if you have selected "Download method: Private" then set it to "../files", create a "files" directory under "user" (same level as "htdocs"), and also set its permissions to 777.

I think the EC Files module demands to make it "Private", but I don't remember for sure.