1 (edited by xx12andrew12xx 2015-07-11 00:03:31)

Topic: Execute Command After Upload Is Finished

Hi,

I am pretty new to JavaScript and what I want to do is basically the following:
When the files are uploaded on the server these are then uploaded to an FTP server automatically.

I got the PHP side of it working so in the example you see a Submit button that takes you to dump.php, I modified that so when you click on Submit it will also upload all the files over to the FTP Server which is great exactly the functionality I expect to happen.

However, what I want to do is once the upload process has finished how can this be done automatically?

Is there a way I can automatically call the dump.php file as soon as the files have finished uploading?

It seems that this is possible as with the events demo it logs the output however, I can't seem to figure out how to do this.

I am using the jQuery UI Widget for this.

Any help will be appreciated.

Thanks

Best Regards,
Andy