I'm not certain here, but I think that if you're doing this on the StateChanged event where the state = 12, you're going to need more than 1024 in some instances. I went out on a limb and tried 20480 (I believed that I read somewhere that even if you specify more than what's actually in the buffer, it will only return what's in the buffer). I didn't get any problems with that, and I didn't even specify the second parameter. When the state = 12 (response complete), that means that it is done with everything. When the state = 8 (response received), that means that it has just received some data. The way that most internet transfers work is that they are limited to 1024 bytes for each transfer, and they transfer all the data until they reach the total number of bytes for the total transfer (usu. specified in the header). The ITC cannot transfer type ASCII. All its transfers are limited to binary transfers only. So this could present some problems when dealing with ASCII text files or such, so it really doesn't make sense that they have the two different GetChunk methods (0 and 1). I say, just leave it out.
Hope this makes some sense.
Phillip
>I'm using "Object.GetChunk(1024,0)"
>
>Mark.
"D'OH!" --Homer Simpson