We use - on MacOS X a shell script call to do such things, even as root.
And you get the results back in a variable you can read out.
We use that to manipulate pictures, which are uploaded to a database (if JDBC worls :-) It is kind of a appleScript replacement .
Hope that helps.
Christian
Am Mittwoch, 18.06.03 um 22:25 Uhr schrieb Bill Conlon:
I want to be able to manipulate directories (read directory listings and
file permissions) and create/delete directories. The built-in file
actions only provide file access, and don't seem to offer anything for
directories.
It looks like I could use:
* a JavaScript File Object within a Script action. This is probably easiest for me to do.
* a JavaBean within a CallMethod action. This is probably the most
effective in terms of server utilization, but I've never used witango
methods & objects, and it's been a while since I did any Java programming
(though I have found some templates online).
* use a shell script or Java applet within an external action. This
would seem to require spawning a new process, hence would probably be the
most expensive in terms of server utilization.
Anyone have any thoughts before I embark on this voyage?
Bill Conlon
To the Point 345 California Avenue Suite 2 Palo Alto, CA 94306
office: 650.327.2175 fax: 650.329.8335 mobile: 650.906.9929 e-mail: mailto:[EMAIL PROTECTED] web: http://www.tothept.com
_______________________________________________________________________ _
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
