Hi,

I am using the winsock control in an ftp program.

When I use this:

wscControl.GetData strData

it gets the data but cuts it off.

When I put a breakpoint on it and wait a few seconds and than go on then it gets all the data. Does somebody have a solution or a function that will wait a bit to get all the data?

the use off the function sleep or other ways don't work.

greetings
greatone