[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Feature Request: async upload  XML
Forum Index -> Development Go to Page: Previous  1, 2
Author Message
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.
 
Forum Index -> Development Go to Page: Previous  1, 2
Go to:   
Powered by JForum 2.1.6 © JForum Team