Hi everyone, does anyone know the best way for an ...
# suitescript
r
Hi everyone, does anyone know the best way for an outside application to download a file from the file cabinet? SuiteAnswers indicates that a GET call to a Restlet will not work in this case. Has anyone set up something like this in the past?
b
Least secure easy way is to make the file available without login
An equally insecure less easy way is an external suitelet that writes a file
You can make the suitelet more secure by implementing some sort of authentication
Actual security can be found in using webservices to get files. Very inconvenient to implement
You can also make a restlet return a file the same way webservices does: return the base64ed file contents as a value on your response