I want to upload a file from my c#.net application to a java servlet. I am using WebClient.UploadFile(), however I am not sure this is the best way of doing it. I am not sure how to access the file content from within the servlet either. :(
Does anyone have any suggestions as to the best way of doing this. I also tried just uploading the String but I was having the same problem.
I then just tried to add the string as an item in a namevaluecollection but it seems to be too long as it is not adding the item to the collection.
Again any suggestions would be appreciated!
;)