Hi,
I have a client program that uploads files to the server. Initially I used POST method and have mod_python to save a uploaded file. Then, I found that a file might contain some special character so by the time my function is called, some of data have been cut off because I think that Apache is parsing data that I am POSTing. Thus, it needs to url-encode if I want to keep the same way. However, I feel that it is too much overhead to url-encode the entire file. To this end, I wrote a sample program to post a file as binary but I am not sure what I need for server part. Could anyone help me to figure out what needs to be done? I am assuming that this must be something similar to posting image file but I just do not know what I need. Please help. Thanks.
YEH