PROGRESS - Validating a user-input file output path

Status
Not open for further replies.
U

user2961924

Guest
I've written some PROGRESS code that outputs some data to a user defined file. The data itself isn't important, the output process works fine. It's basically

DEFINE VARIABLE filePath. UPDATE filePath /*User types in something like C:\UserAccount\New.txt */ OUTPUT TO (VALUE) filePath.

Which works fine, a txt file is created in the input directory. My question is:

Does progress have any funtionality that would allow me to check if an input file path is valid? (Specifically, if the user has input a valid directory, and if they have permission to create a file in the directory they've chosen)

Any input or feedback would be appreciated.

Continue reading...
 
Status
Not open for further replies.
Top