I have this situation: I have to upload via sftp files from a folder where files are stored continuously. and after uploaded I have to move into a folder (/processed)
So I'm searching the right way to upload multiples files one by one and move into a backup folder as soon as uploaded.
"one by one" is the main feature because if I move all the files, maybe I move also some new files that I haven't uploaded yet.
can someone help me?
thanks in advance