Alright, hopefully I can ask this in the right way (background is mostly front-end web development). I'm trying to set up a sftp (or ftp) connection to send invoices directly to a client in a csv format. I've already created the script to create the file and save it to the file cabinet and sent over to their developers the "sftp.createConnection" format. Their response was that they needed to whitelist the my IP address. I told them that this was impossible as NetSuite has multiple datacenters/IPs and they could change at any time.
I guess my question is, what is the next step? Do I need to route through another service? Is there a way to ftp via script? My experience programming is almost 100% javascript so it get's a little harder to wrap my head around things like (and I'm sure I'll butcher this next part) creating a command line automation to find and upload the file. Any advice will be helpful, I just want my search for solution to be in the right direction. Thanks all.