Upload file from Mac via Online KScript
So I have an Online KScript that does everything I want it to except for Upload a file. The script zips a folder of logs from another program and uploads it so I can review them later. The Zip file is only about 3.5MB.
However, when I run the script, it always fails and never uploads the file. This is the only line I get about the upload in the log:
"Uploading file: /Library/Application\ Support/Dell/KACE/data/kbots_cache/packages/kbots/239 cpfiles.zip"
As you can see, it looks like it's adding a space between the folder and the filename for some reason. I've tried adding a "/" to the end of the directory, but it just does "239/ cpfiles.zip," still with a space. I've put the filename in with the directory and left the filename part blank, but it still failed.
Does anyone know how to get an Online KScript to upload a file from a Mac? Alternatly, do you know how to get an Online Shell Script to upload a file to the K1000 server? Or anywhere else?