File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Download / Upload file aynchronously Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Download / Upload file aynchronously" Watch "Download / Upload file aynchronously" New topic
Author

Download / Upload file aynchronously

pendse anagha
Ranch Hand

Joined: Mar 09, 2005
Posts: 44
Hello ,
I need to download / upload files in my application .
However the file sizes sometimes are huge and number of records easily run into millions .

This functionality has to be implemented from the web page
i.e. Cannot convert this into a batch job.

However - can someone throw some light / ideas if I think of
uploading the file into a tanle in Oracle as a CLOB
and then some back end process will pick the file up - parse it and do necessary inserts / updates ?

Could someone throw some light on what the best way to implement would be ?

Thanks in advance .
-satish
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

You could upload these files to a directory, and create a java.util.Timer which polls this directory periodically to find out if there are any new files to process.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Download / Upload file aynchronously
 
Similar Threads
finalize() method
java.net.UnknownHostException on Solaris
Doubt in EJB Stubs
DLL - JAVA
Finding the modified date time of a file