Hi all,
In Powerbuilder, I am trying to get the application to read a series of file names in a directory and store this in a database. Now the database part I have done, and how to write the names to the database. However, my question is how to get the filenames within a directory (without using getfileopen or getfilesave, since I understand that these functions prompt you to open or save a file). Furhtermore, if in the directory, an object is retrieved, it needs to be checked whether this is a file or a directory. If is is a file than (as mentioned) the name needs to be read, and if it is a directory than the directory needs to be opened.
Any suggestions? Thanks in advance.
Regards,
Anand.
In Powerbuilder, I am trying to get the application to read a series of file names in a directory and store this in a database. Now the database part I have done, and how to write the names to the database. However, my question is how to get the filenames within a directory (without using getfileopen or getfilesave, since I understand that these functions prompt you to open or save a file). Furhtermore, if in the directory, an object is retrieved, it needs to be checked whether this is a file or a directory. If is is a file than (as mentioned) the name needs to be read, and if it is a directory than the directory needs to be opened.
Any suggestions? Thanks in advance.
Regards,
Anand.