How to check the filename
exists in sybase Sql Anywhere11
and return error message if not in Sql Anywhere11
?
I have a textbox
and submit
button in front end. So the user can enter the file path
into the textbox
and click submit
.
The submit
button call the procedure
and i want to check in the beginning of the procedure weather the file exists
or not and return
some value
if not exists.
Example:
D:/hello/world.csv
is the path
name.
So I need to check the D:/hello
is a valid path and world.csv
is exist in the specified path.
Thanks