Hi,
I have an aplication where the user will upload image files from their desktop and also specify the file name (not the path) for the image to be named on our server. This will be used in a slider widget.
I'm not sure how to validate a proper Windows file name using CFFILE/Upload. If it's invalid, will it just throw an error? I guess I can use try/catch for that? Is their a CF function (user or otherwise) to validate Windows file name?
Thanks in advance,
hefterr
BUT .. do you really have to apply the file names they give you? What I usually do is apply the naming convention of my choice in code. Then store the user supplied name in the database. Then on download (or however they're presented to the user), I use the "pretty" name in the header. The users never know the difference.