wood burning stoves 2.0*
The moose likes Java in General and the fly likes Web file association problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Web file association problem" Watch "Web file association problem" New topic
Author

Web file association problem

Alex Belt
Ranch Hand

Joined: Jul 12, 2001
Posts: 57
My problem is this: I'm sending a file from a web server using a custom MIME type which causes a Java program to be invoked on the user's machine. The Java program has to process the information in the file and do some work based on that information. How do I find the file on the user's system once it has been sent from the server within the Java program? This is being done on an intranet, so only company employees will have the Java application on their machine to process the file.
Thanks in advance!
Michael Ernest
High Plains Drifter
Sheriff

Joined: Oct 25, 2000
Posts: 7292

That file is in the browser's caching structure somewhere, more than likely, with a "name" like cache3C0FCA1F03B01F8.html. So probably the local Java program needs to search for that file by a content match in there?
------------------
Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide


Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
 
Consider Paul's rocket mass heater.
 
subject: Web file association problem
 
Similar Threads
Getting serial number via server
i/o with applets
I need an advise about sharing/transfer a file
[HELP] text mining in java servlet
What is the best way to process a file from the clients local machine?