Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

to write a file on a machine on the network.

 
Chetan Bengaluru
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

The scenario is as follows.
#1) After logging in to the web appln the user edits/creates a profile.
#2) This info is then fed into a Stored procedure which returns a ref cursor.
#3)A resultset is obtained from the cursor and then i iterate through the resultset.The contents fetched from the resultset(String) should then be written onto the directory specified by the user in step 1 on the user's machine.

Can you please suggest a way out for this.I have no clue as to how i get a handle to the user's machine even if I am equipped with his host information.I can write into a file on the server itself but i am lost when it comes to writing into a file on another machine on the same network.
I have the host info from the request object.


Thanks & Regards
Chetan
 
David Harkness
Ranch Hand
Posts: 1646
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please don't post the same question to multiple threads. You're up to three forums (mods: I/O and Sockets are the other two) for this post, and that tends to make people less likely to help you. It also makes the discussion hard to follow.
[ February 17, 2005: Message edited by: David Harkness ]
 
Trevor Whitehead
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the purpose of putting the info on the clients machine directly why not give them the option to download?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic