hi all,
I have a very specific, not to say weird, requirement.
Here it is:
I have a Windows application that generates an ASCII file. Once the file is created, it automatically launches a custom Webtop component passing the file name as a parameter.
So far so good.
The thing is that this file doesn't need to be imported in the docbase, my component needs to read it and do some stuff.
So far, the only way I found is, in my Webtop component, to create a dummy object in the docbase, set its content to the file I passed (I created my own checking component that extends the Check in component to do a check in from file without asking anything to the user).
Then, since my file is in the docbase, I can read its content, do my stuff and then I delete it from the docbase.
The thing with all that is:
That slows down the whole process since I create an object, then it uses the UCF to set the content and at the end, I need to delete the object
That's much more work to maintain the code, in the future, for upgrades for example
I was wondering: Would there be a way to be able to read the content of this file, or on the client machine directly or by uploading it in the app server temp directory or something like that.
Any idea ?