Forums / General / How do I create a user friendly filename/url?

How do I create a user friendly filename/url?

Author Message

Chris Lukenbill

Tuesday 05 June 2007 1:25:42 pm

I'm sure I'm not the first person to try to do this, but I can't find the answer anywhere. If there is another post that already covers this, just post up the link (I couldn't find one).

I'm trying to find a way to create a user friendly filename and url for a file (such as a .pdf) that I create from the admin. When I upload a file, either through a file class, or through a custom class that I've created, I would like to have a way to assign a name to the file or at least use the name of the file, instead of assigning some filename like, "1c9316f4ef7dfd8af66bcd7acf50d309.pdf". Some type of url translation would help the situation, but I haven't figured out a way to translate to a file.

Thank you for any help.