Hallo Herbert,
du musst jedes Unterverzeichnis in einer eigenen Session abarbeiten:
WinInet Reference : Functions : FtpFindFirstFile
... FtpFindFirstFile is similar to the FindFirstFile function. Note, however, that
only one FtpFindFirstFile can occur at a time within a given FTP session. The enumerations, therefore, are correlated with the
FTP session
handle. This is because the
FTP protocol allows only a single directory enumeration per session. ...
Grüße vom marabu