my program downloads a 20mb file and then copies it to a file in some other folder.
Now when i copy...i.e when i try to read from this downloaded file
n = read(fd,buff,sizeof(buff));
n is always 1
even though the buffer size is different.
i want my copy to be fast and not 1 byte at a time. WHY IS N = 1 ?
whats going wrong ???
thankx
__________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html