Hi, I have to create a txt file and save / send it to a local server (EDI Folder).
Creating the file is easy but send it to the local server (automatically) I have no clue. Any ideas ?
s
scottvonduhn
08/21/2020, 1:54 PM
Do you have any ETL or integrations tools available, or are you looking to use just what is built into NetSuite? If you can use SuiteScript, then SFTP and HTTP/HTTPS are possible. Those are really the only communications protocols available within SuiteScript.
s
Simon
08/21/2020, 1:56 PM
I see. I could SFTP to the server. I don't remember last time I tried it, it was not working but I will try again. Thanks
s
scottvonduhn
08/21/2020, 1:57 PM
There have been some updates to the N/sftp module in the last year, mostly usability improvements like the ability to list the contents of a directory. It’s worth trying again if you haven’t used it recently.
s
Simon
08/21/2020, 1:57 PM
Thank you very much
s
scottvonduhn
08/21/2020, 1:59 PM
If you get stuck or have problems with it, you can always try asking for help in the #C29HQS63G channel. Many people there have had experience with scripting SFTP, as it can be tricky to do right with NetSuite.