FtpProgram - InternetFindNextFile

i have take the mf demo program ftpprogram.cbl from 2006 (from Fano "Raz" / Product Group / Micro Focus) and actualize with the actual "wininet.h"

i had no Problem to program "FtpFindFirstFile", but for find the next files with "InternetFindNextFile" i will have Problem/no Results.

Who has find a solution and have interest to work on the new Features to code this in Cobol?

Thanks for help!