I would like to take 2 files with same name but different extension from a folder in SFTP.
In that FTP folder we will have lots of pair files, for example 5 PDFs and 5 XMLs. Each pair of PDF + XML has same name:
What we need to do is to take every pair with same name: 1 PDF + 1 XML (File1.PDF + File1.XML), leaving in the folder the other 4 PDFs + 4 XMLs. We will take the other pairs next time.
Is this possible?