Just an additional problem, see code below:

********

oIOStreamDir = oResponseDir.GetResponseStream
oStreamReaderDir = New StreamReader(oIOStreamDir)

'System.Threading.Thread.Sleep(2000)

Do While oStreamReaderDir.Peek >= 0
       sLine = oStreamReaderDir.ReadLine
       .....
Loop
oStreamReaderDir.Close()
oResponseDir.Close()

********

With this code, I only receive 1 line (file) from the
ListDirectoryDetails-response though there are more than 20 files on
the FTP-server. When I add the Sleep() with 1 or 2 seconds, I receive
the 20 DIR-lines.

Any ideas...

Reply via email to