Hi Kim,
Sorry, can't help with the Applescript as cgi script, but as for PHP..
You should be able to make a directory (named whatever), and recursively
copy files from the directory you want copied, to the new one. See PHP's
copy function http://au3.php.net/copy , otherwise you can use PHP's 'exec'
function as well and do 'mkdir' & 'cp' commands. Of course, you will need
to have permissions for all of this too.
Otherwise, can your application talk FTP, SSH or even telnet? Otherwise
another suggestion.. write your own service in RB that listens on a
different port to the web webservice - modify the "write your own
webserver" RB example
http://www.macdevcenter.com/pub/a/mac/2004/11/19/realbasic.html?page=1)
and then you can use RB methods! of course you may want to add some
security to it too.
regards
Mark
On Thu, 15 Jun 2006 14:02:36 +1000, Kim Kohen <[EMAIL PROTECTED]> wrote:
All,
apologies for the OT post but I have a RB application which needs to
talk to a web server. I need the web server to duplicate a folder and
rename it based on a variable I pass from RB. I've tried doing this with
PHP but there's some issues I haven't been able to overcome (the lack of
a duplicate command doesn't help)
Does anyone know how to setup an Applescript as a cgi script and then
receive a variable from RB? I definitely want to use a web based script
as I don't want the application to have direct access to the directory
I'm working in.
cheers and thanks
kim
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>