File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes I/O and Streams and the fly likes Write a file to local machine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Write a file to local machine" Watch "Write a file to local machine" New topic

Write a file to local machine

Ja Roel

Joined: Jun 13, 2002
Posts: 11
In my coding I generate a txt file, which is used for a MS Word mail merge. It's an internet application and I'm trying to write the file to the local machine of the user. But instead it ends up on the server.
How can I write a file to the local filesystem??
Tnx in advance.
Ram Kumar Subramaniam
Ranch Hand

Joined: Jan 17, 2003
Posts: 68
Please keep in mind that you are doing server side programming.
I agree. Here's the link:
subject: Write a file to local machine
It's not a secret anymore!