getting binary cgi post data
- Posted by akusaya at gmx.net Jan 20, 2004
- 468 views
I tried to process http file uploading, but the file saved contain no byte #0D's, it seems like the standard input is treated as a text file rather than binary file. How to overcome this? I used the standard getc(0) until the file boundary comes, but the #0D bytes disappears. I write the input to a output file opened with "wb". Please help, thanks!