How can I write the GZIPOutputStream to a direcorty like c:/temp?
When I run this snippet of code my hashtable is placed in a compressed file and placed on the desktop. I would like this file to output to a folder.
// Write the serialized object as post data
ObjectOutputStream out = new ObjectOutputStream( new BufferedOutputStream( new GZIPOutputStream( con.getOutputStream() ) ) );
out.writeObject( command );
out.flush();
out.close();
Dano
dskryzer@hotmail.com
What's your major malfunction
When I run this snippet of code my hashtable is placed in a compressed file and placed on the desktop. I would like this file to output to a folder.
// Write the serialized object as post data
ObjectOutputStream out = new ObjectOutputStream( new BufferedOutputStream( new GZIPOutputStream( con.getOutputStream() ) ) );
out.writeObject( command );
out.flush();
out.close();
Dano
dskryzer@hotmail.com
What's your major malfunction