<@U6Z208M32> You can handle that in a different wa...
# suitescript
a
@samyt You can handle that in a different way, for example a dir.list file where you store the file names you put there or remove the one you remove(your own index), that would work fine if you are the only one putting or removing files, otherwise you need another helper in the SFTP side which update the same file…
s
Sorry.. I didnt get you .
a
There is no native way to list files in SFTP from NetSuite… you can keep your own index file to solve that limitation… - Let say you start with an empty SFTP you first thing is create index.txt file… - Every time you connect you read that file (you know the name) or you update that file when you add new files to your SFTP, the file idea is to keep a record of all filenames in the SFTP. (Is a way to circumvent the limitation.)