I want to detect if a file is newly created on a NAS server. Wait… node can only browse files that are local.
So, I’m going to connect to the NAS server, get a list of folders and files, store them, and then compare it with the latest list to check whether new files have been created.
I am trying to get a list of files using the API, and download the file from the NAS server to proceed with the operation.
Is there an efficient way or node?