Hello everybody!
Could you please advise if there is possible to push file to NetSuite FTP (file cabinet) from external service?
n
NElliott
09/14/2020, 10:52 AM
The filecabinet is not an sFTP server so no.
however you may be able to drop files in the filecabinet using SuiteTalk but I'm not familiar with SuiteTalk and you shoudl probably ask in that channel.
Failing that, you could create a SuiteLet or RESTlet that creates a file in the file cabinet for you.
👍 1
t
tdietrich
09/14/2020, 11:21 AM
@Michael Sorokin This won't help as far as FTPing files goes, but if you're looking for alternative way to upload a file to the File Cabinet, then it might help.
It's a RESTlet that can be used to upload files, create and delete folders, query the File Cabinet, etc. https://timdietrich.me/blog/netsuite-file-cabinet-suitescript-suiteql-restlet/
I hope it helps.
👍 1
m
Michael Sorokin
09/14/2020, 12:01 PM
Thanks!
d
dynamicl
09/14/2020, 1:28 PM
There is also an UploadFile working example in the SuiteTalk Visual Studio sample project that you can download from the NetSuite site.