Search:

Type: Posts; User: gimbal2

Search: Search took 0.02 seconds.

  1. Re: Uploading a file to webspace through a java applet

    Apache commons-net is a good FTP API, yes. Plenty of copy/pastable example programs in it too if you download the source distribution of it.

    Apache Commons Net - Overview
  2. Re: Uploading a file to webspace through a java applet

    @Tolls: I think it restricts the host, not the protocol used. If the host name of the FTP server is the same as where the applet is downloaded from, the sandbox should allow the connection. Maybe you...
  3. Re: Uploading a file to webspace through a java applet

    Well you make a good point because you'd need to store the credentials somewhere, but HTTP has similar security limitations :) If you create a webservice that needs to be invoked from an applet AND...
  4. Re: Uploading a file to webspace through a java applet

    Or FTP, as was described in the original post. I would prefer FTP over HTTP myself. I've never used that in combination with an applet though, so I wouldn't know in what ways the sandbox is going to...
  5. Re: Uploading a file to webspace through a java applet

    You print out the path and it ends up as this:

    file:C:\Users\Teedo\Documents\NetBeansProjects\Testing\build\classes\accounts.txt

    Notice that extra file: bit at the beginning?
  6. Re: Uploading a file to webspace through a java applet

    Windows does not agree with your assessment. Do all the directories noted in the path actually physically exist?
  7. Re: Uploading a file to webspace through a java applet

    Why are you using an ancient AWT applet? Use a Swing JApplet at least.

    The error seems to indicate that the filename you are generating is not correct. For example you assume that...
Results 1 to 7 of 7