Scenario
Created a standard SFTP inbound connection:
Logs in to the SFTP Server, downloads the csv files from the 'Bank Folder - For Processing' into the correct NetSuite Document 'Folder ID', makes a copy of the csv files and puts them into the 'Bank Folder - Processed'.
The problem is that when trying to remove the files from sub directory ('Bank Folder - For Processing') it generates a "File not removed from processing" message.
It reports that there is "No such file or directory". This is even though the path/file name in the error message is the correct one.
I enabled Debug logging and have been able to review the Script Excecution log and have identified the code generating the error. The section of the script that is failing is "ns_mr_automate_payment_ihelper_file:map"
Unfortunately, the script "ns_mr_automate_payment_ihelper_file" is a NetSuite script and is not editable.
I have tried changing folder structures etc on the SFTP server,
I have confirmed that there are adequate read/write/delete security permissions to the SFTP server for this access.
This also creates a snowball of files where each day the files are resent with the next suffix available, both to the SFTP processed folder and the NetSuite Folder ID. This has other implications.
Your assistance is appreciated.
Thanks
Steve