Skip to Content
0
Former Member
Mar 23, 2006 at 03:49 AM

Validation

16 Views

Hi all,

I am using a parameter to get a file name(file path) inorder to upload a file from a legacy system.

my query is how to validate the file type ie it should upload only .txt file type only . if u give other than this file type it should through a error message.

can any one suggest me a good coding.

PARAMETERS : P_FILE TYPE RLGRAP-FILENAME.

regards

paul