krinninger
Power User
Joined: 17/11/2008 21:19:41
Messages: 567
Offline
|
okay perhaps i get it totally wrong but again:
theoretical part:
I want to get an exact copy of file beeing uploaded from client on server side.
now the practice:
What i get through your interface is an inputstream.
No i can open an fileoutput stream and put all byte data from inputstream to this outputstream.
But then, everything is binary encoded.
i have no clue, which type it was before.
so how could i know if i should interprete the inputstream as char-encoded and write byte data back to string? well i can use the filename, but that's not always clear.
|