it is working but taking the size of TBuf as 40000 is not a good paractice of programming .So what I want is I should read a part of file and write it agin the next part and write it till the end of file come (we can call it as sreaming).
Which API should I follow for this or from where can I get the example for this?
plz reply