I am working on a http server, and I am having problem with uploading images. When i am looping the stream for the image file date, I can only get some of the image before the fscanf function stalls. The way I have done the format works fine with text files but not with image files. Any idea what is wrong?
fscanf ( file, "%10000c", buffer )