Share

File Upload Applet

Subscribe

postURL does not work

You are viewing a single message from this topic. View all messages.

  1. 2009-11-01 22:35:31 UTC

    Hi,

    Sorry for the late response. I actually responded before, but it seems my answer disapeared, or I didn't click on submit :-( Sorry for that.

    BTW, I was able to reproduce the problem. The reason is there is no folder in your URL.

    It should work with an URL like this one: ftp://stefan:ftp@192.168.0.203:21/ASubFolder

    You can try the correction I just submitted. Here is the URL of the jar file:

    http://jupload.svn.sourceforge.net/viewvc/jupload/trunk/wwwroot/wjhk.jupload.jar

    In this new version, to upload to the current user path (/home/username by default), you can use this URL: ftp://stefan:ftp@192.168.0.203:21 (without a trailing slash)

    Two possibilities with the current one:

    1) I use Cerberus FTP server, and it's not possible to upload to the FTP root, which is actually just a virtual place (no physical folder behind).

    2) When checking against a Linux box, the above URL makes the applet try to upload on the '/' path, which is only accessible to root. So it can't upload there.

    In next version, I'll display a proper error message, instead of the NullPointerException.

    Etienne

< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.