I'm currently building a site right now that allows registered members to add their own logo to entries they create via a SAEF. I have Assets installed for this site but also have SafeCracker File available.

I'm perceiving an issue where multiple members try uploading files like logo.jpg thus overwriting other member logos.

Is there a way to keep upload destinations (subfolders?) separate where a member only sees their uploads (if browsing current uploaded items ala Assets) or possibly randomization of uploaded filenames if using a standard File field?

I found this answer on a different question that mentioned that Assets prevents filename collisions but I'm not sure if it allows browsing of existing images, which is not something I want.

Thoughts? Ideas?


1 Answer 1


I could be wrong, but I think Safecracker File automatically appends a number to the end of any duplicate filenames to avoid collisions. Have you verified that your perceived issue is actually an issue?

  • Wow, you are right. It does add a number on the end. I guess this could work as-is and I'd just have to deal with logo232.jpg after 231 other people upload the same filename.
    – Ian Pitts
    Dec 3, 2013 at 2:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.