An example that will work on all the unix platform - OS X, Linux and Solaris - is attached.
Make sure that: 1 the shellcommand.sh file has execute permissions 2 the file is saved as a unix text file 3 the user that owns the witango process has read/execute access to the directory Phil On 27/7/03 3:16 PM, "Christian Platt" <[EMAIL PROTECTED]> wrote: > Just wanted to get the listing of a directory into my resultset via > /bin/ls /Library/WebServer/Documents > > which works in Terminal, but when using it as an external action in > Witango, iget > +++ > Position: GetDir > Class: External > Main Error Number: 0 > > > The program "/bin/ls /Library/WebServer/Documents" does not exist, or > is not readable. > +++ > But when using only "/bin/ls" the List of witango logfiles is displayed. > > Anybody any idea? > > Christian > > P.S. > For those of you working with Studio and server on one Machine with > JDBC, > i postet an idbc.ini Mover, which updates the ini to the server via > Apple scipt, at > http://www.apocm.de/witango/index.html > > > ________________________________________________________________________ > TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
#!/bin/sh ls -al $MyPath
shellcommand.taf
Description: Binary data