I am not sure if all of those LANDesk scripting options work on Mac's but I see at least one big issue, sdclient.exe does *not* exist in a Mac, you should just call 'sdclient' (without the .exe), also you seem to be using the wrong slashes, ( '\' -> Windows, '/' -> Unix).
Also, the %LDMS_CLIENT_DIR% seems to be a Windows only environment variable, unix one should be something like $MYVAR.
If the %VAR% does not work you can write the full ldscan path, "/Library/Application Support/LANDesk/bin".
If you are not able to get it to work you can try setting just the following options in the script.
;This will download the file
REMEXEC0="curl http://test/test.txt -o test.txt -s"
;This will move the file to the path you require
REMEXEC1="mv test.txt /Library/Application Support/test.txt"
If this still fails, check if you can move the file to a different folder, try using /tmp.
If this is just a static text file, why don't you just package it up with Package Maker or Iceberg and deploy the package?
Or you can create a shell script that looks something like this:
#!/bin/sh curl -s http://server/test.txt /Library/Application\ Support/test.txt
Save that with a .sh extension, make it executable (chmod +x script.sh), zip it up and deploy that as a distribution package.
thank you guys!