PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

How to validate file attachment names

edited May 28, 2013 4:28PM in PeopleTools and Lifecycle Management - PSFT (MOSC) 4 commentsAnswered
Hi
Below are some bad examples of filenames where users were able to upload their attachments to the FTP location but upon trying to view the attachments, they were not accessible due to having special characters in the filename.
The_Boss_(3).pdf
OneTouch_Jun_09,_2010_(3).PDF
I.B.M..jpg
~OTC1ABI001F.PDF
20100608165548304[1].pdf

Can anyone provide guidance / code on how best to prevent attachments to be uploaded with special characters (~ or . or [ ,etc) before the file extension... prompt the user to rename file during the upload step? I am on 9.0 if that makes a difference...

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center