RESTlets should fall under the server-side categor...
# suitescript
e
RESTlets should fall under the server-side category. Just for a sanity check, you could put
nlapiLogExecution(typeof nlapiLoadFile)
at the front of your restlet; you should expect to see "function" in the resulting log message.