Hi all, I created a system to upload files to our ...
# general
l
Hi all, I created a system to upload files to our file cabinet using a RESTLet, the files will be sent from a program running on my PC to NetSuite, and then created from the base64 encoded string using file.create in the file module. Are the file.Type enumerations the only file types that are supported by the file module, or would there be any way to upload a file outside of those enumerations (without using a zip file)?
e
The file.Type enumeration is just a way for the browser to know how to open the file and even at that you can upload a binary and call it a TEXT file with a .txt extension and the browser will simply download it on the UI when you try to open it.
l
What would I use for the file,type option when I am creating the file in order to get it in Binary?