Downloading files with applets

Discussion in 'Java' started by Praveen M V, Aug 13, 2003.

  1. Praveen M V

    Praveen M V Guest

    Hello,

    Is it possible to connect to a web server from an applet and download a file
    to the local system and then operate on the downloaded file ?

    Regards,
    Praveen
     
    Praveen M V, Aug 13, 2003
    #1
    1. Advertising

  2. Praveen M V

    Dave Miller Guest

    In article <9gp_a.32251$>, andrew64
    @bigNOSPAMpond.com says...
    > <group bosch.comp.lang.java removed>
    >
    > "Praveen M V" <> wrote in message
    > news:bhd66r$1ks$...
    > ...
    > > Is it possible to connect to a web server from an applet and download a

    > file
    > > to the local system and then operate on the downloaded file ?

    >
    > Yes, there are various ways you can achieve that.
    >
    > You could alter the 'security policy' on specific
    > browsers to allow the applet access to the local
    > filesystem, or you could 'sign' the jar file and install
    > it via Java Webstart.
    >
    > For signing see..
    > http://java.sun.com/products/plugin/1.2/docs/nsobjsigning.html
    >
    > HTH
    >
    > --
    > Andrew Thompson
    > http://www.lensescapes.com/
    > http://www.physci.org/
    > http://www.1point1c.org/
    >

    A signed applet is (if accepted by the client) granted the same
    privileges as a java app (no sandbox). It can be accessed the same as an
    unsigned jar - webstart is not required.
     
    Dave Miller, Aug 13, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Marina
    Replies:
    1
    Views:
    390
    S. Justin Gengo
    Jul 16, 2003
  2. Marino Labeeuw

    accessing files locally with applets

    Marino Labeeuw, Feb 7, 2005, in forum: Java
    Replies:
    1
    Views:
    400
    dingo
    Feb 8, 2005
  3. ted holden

    Applets and reading files...

    ted holden, May 12, 2005, in forum: Java
    Replies:
    2
    Views:
    341
    Lee Ryman
    May 13, 2005
  4. Digital Puer

    applets and multiple jar files

    Digital Puer, Sep 30, 2005, in forum: Java
    Replies:
    2
    Views:
    11,057
    Roedy Green
    Sep 30, 2005
  5. Qu0ll
    Replies:
    7
    Views:
    409
    Knute Johnson
    Nov 29, 2008
Loading...

Share This Page