Hm, check out the tcf,which handles all requests with checkpath and makepath.sh

Christian (10.3.9 server/apache)



________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Attachment: FileSystem.tcf
Description: Binary data

Attachment: filetest.taf
Description: Binary data

Attachment: makePath.sh
Description: Binary data

Attachment: checkPath.sh
Description: Binary data




Am 12.03.2008 um 08:02 schrieb Wayne Irvine:

Witango 5.5 running on a Mac with OS X 10.4.9 Server and WebStar 5.4.1.

I'm triggering a shell script from a witango action with the purpose of
creating a folder.

The shell script is a simple:

#!/bin/sh
# folder.sh -- shell script to create a folder
mkdir $path

And the action is an External with:
Command <@INCLUDE FILE='filepath.txt'>wc_Admin/makefolder.sh
Environment Variables:
Path <@INCLUDE FILE='filepath.txt'>affiliates/<@ARG virtualdomain>

Oh and filepath.txt contains:
/Applications/Kerio WebSTAR/Webserver/DefaultSite2/~wineclubs/

I have tried with and without escape characters "\" before the SPACE and ~.

I have set the permission for the folder 'affiliates' to Everyone: Red and
Write.

So in the end I have found and fixed a number of problems but still don't
have a working solution.

Any help would be appreciated.

Wayne

                 Byte Services Pty Ltd
              http://www.byteserve.com.au/
                 [EMAIL PROTECTED]
  Ph 02 9960 6099   Mob 0409 960 609   Fax 02 9960 6088

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


Reply via email to