en@frrom
24th February 2011, 15:38
Hello fellows,
I have a simple requirement: checking whether a local directory path the user entered on a form, exists.
Strange enough I have not found any sufficient way to do this. The functions I tried so far:
- dir.open
- dir.present
- is_dir
None of them seem to work; I think they all work on server only.
I also tried create.local.directory (and then follow with remove.local.directory if return value <> -183) but I really don't like this mehtod, for I will be creating and removing directories on the client without notification! I also do not trust the function's return values.
I also searched the board but could not find any straight forward sufficient solution.
I also searched through dlls ttdllbw & ttdllfilehand, but did not find anything new.
Any ideas?
Thanks,
Eli Nager
I have a simple requirement: checking whether a local directory path the user entered on a form, exists.
Strange enough I have not found any sufficient way to do this. The functions I tried so far:
- dir.open
- dir.present
- is_dir
None of them seem to work; I think they all work on server only.
I also tried create.local.directory (and then follow with remove.local.directory if return value <> -183) but I really don't like this mehtod, for I will be creating and removing directories on the client without notification! I also do not trust the function's return values.
I also searched the board but could not find any straight forward sufficient solution.
I also searched through dlls ttdllbw & ttdllfilehand, but did not find anything new.
Any ideas?
Thanks,
Eli Nager