• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

to write a file on a machine on the network.

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1646
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
reply
    Bookmark Topic Watch Topic
  • New Topic