This looks like a very promising module - thank you for contributing it! I have been through the documentation (http://drupal.org/node/326102) and have a few questions regarding file downloads:
- As a seller, I don't see the file URL after uploading the file, is this intentional?
- Is the recommended workflow: seller --> creates a file product ; admin --> reviews it and sets 'Commit file to product feature' ; file product is now good for purchasing?
- I have had past success with http://drupal.org/project/private_upload and http://drupal.org/project/filefield (it is extra secure and doesn't allow anyone to access a private file, results in HTTP 403), you might consider adding that to the docs as a recommendation
Thanks again.
Comments
Comment #1
drew.p commentedAlso, I was getting a "[function.copy]: failed to open stream: Permission denied in mp_file.module on line 95." error when I set 'Commit file to product feature'. This disappeared when I chmod 777'd the Ubercart's product settings' file download folder.
This does not seem safe - is this intentional?If the folder is outside of web root, then I guess 777 is okay?Comment #2
Turgrid commented1) Correct. The URL has been hidden to add some sense of security to the temporary location. See http://drupal.org/node/277519 for discussion.
2) Your workflow seems good. If you do not want admin product moderation, enable "automatic commit to product feature" in seller settings.
3) I will update the docs with some of the issues and ideas you presented. Thanks for taking the time to thoroughly write up about Marketplace.
4) I was not aware of the permissions my module required. I will look into this and add necessary details to docs.
Comment #3
drew.p commented