I wrote this [simple Play-uploadify demo](https://github.com/ripper234/play-uploadify).

I want to an upload button that automatically upload an image each time its pressed.

For some reason, only the first time the button is pressed, I get an upload. After the button has been pressed once, further presses do not cause anything unless I "cancel" the previous uploads.

(I don't understand the meaning of canceling an upload with `auto` mode. Perhaps the problem is that my downloads never "complete" in some sense?)

Here is my action method:

```
public static void upload(File file, long userId){
    System.out.println("Uploaded file name " + file.getName() + 
      " by user " + userId);
}

```

And the call to uploadify:

```
$(function() {
    $("#uploader").uploadify({
        uploader    : '/public/libraries/uploadify/uploadify.swf',
        script      : '/Application/upload',
        cancelImg   : '/public/libraries/uploadify/cancel.png',
        folder      : '/uploads',
        fileExt     : '*.jpg;*.gif;*.png',
        fileDesc    : 'Image Files',
        fileDataName: 'file',
        scriptData: {userId: 123},
        auto: true
    });
});

```

Also, the upload never seems to complete - when I add an `onComplete` handler, it does't fire.