aspose file tools*
The moose likes Applets and the fly likes Downloading Files with applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Downloading Files with applet" Watch "Downloading Files with applet" New topic
Author

Downloading Files with applet

Parth Mankad
Greenhorn

Joined: Jan 27, 2003
Posts: 18
i want to download files from my server using an applet.the files need to be downloaded to any location on the client.however the user should not be givent the save file dialog box.plz help me how can i do this
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39578
    
  27
The applet needs to be digitally signed, so that it is allowed to do file I/O on the client. It doesn't need to ask the user where to store the file - it can create it whereever it likes, under whatever filename it wants. Retrieving the file from the server could be as simple as "new URL(...).getContent()", depending on what kind of file you're dealing with.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Downloading Files with applet
 
Similar Threads
tomcat service not able to connect with the database
Bluetooth Apps using Nokia 6600
Jasper Exception
Sci-Fi Goodness
WA #1.....word association