My problem is when i want to send the name of the file to the server.
This what i have now:
- Code: Select all
set theURL to "http://myserver.com/api.php?type=show&name=" & theFile
do shell script "curl " & quoted form of theURL
It is working, but where i was hoping the name of the show would be there is part of the filepath. How can i extract the filename from "theFile"?