webutil_file.create_directory & client_host
LuthfiSep 28 2011 — edited Oct 17 2011HI,
*1.*
I want to create directories & files in my C:\tmp, but I want try to run from my form.
For example, I have a form. In my form, have a button 'Create File'. When I click that button, it will create a folder/file in my C:\tmp, not in AS. My OS pc is Win XP, AS is Unix, Oracle Forms [32 Bit] Version 9.0.2.12.2 (Production).
Is it possible to do that? Or it totally impossible? I've tried using client_host, host, & webutil_file.create_directory, but all failed.
When I use client_host & webutil_file.create_directory, error during compile.
identifier 'client_host' must be declared.
identifier webutil_file.create_directory' must be declared.
Or am I forgot something about the settings?
I know that:
HOST is executed on the App Server
CLIENT_HOST Is executed on the client
but I really don't know the concept how & where to apply. I'm really new to all these things.
*2.*
Lastly, my question: Is it allow me to create folder in AS? That means I need access privilege/rights to create,edit,delete files/folders or not ? Because when I try to create folder in AS using host command, it failed.
Is this problem related to rights on AS? The error appeared was +302000: non-ORACLE exception.+
Can anyone help or clarify to me?
Thanks,
Luthfi
Edited by: Luthfi on Sep 28, 2011 8:38 PM
Edited by: Luthfi on Sep 28, 2011 8:44 PM
Edited by: Luthfi on Sep 29, 2011 2:27 AM
Edited by: Luthfi on Sep 29, 2011 2:32 AM
Edited by: Luthfi on Sep 29, 2011 2:34 AM