how can i push a saved search to an ftp server thr...
# suitescript
l
how can i push a saved search to an ftp server through a suitescript?
e
What do you mean "push a saved search"?
You can use
N/sftp
to upload files via SFTP, and you can use
N/task.SearchTask
to export search results to various file formats
l
well what i need to do is export the saved search as csv and import it to an ftp server.
u
Use sftp module as mentioned above. N/task.SearchTask would be you search option unless you would want to push it right away and then just use an on-demand MR and use the File streaming api to create the file then push it to the ftp server using SFTP module. Note that it has to be an SFTP server as well
l
ok thanks so much for your help guys.