I am using "plupload" to upload files then redirect to an acknowledgement page. What I would like to do is add the filename to the url string
EG(www.mysite/thanks.php?file=file.jpg)
For someone at my level the documentation for plupload comes across as somewhat sparse and I have been unable to identify which variable/object carries the file name.
Here's where I would like to put the code
Uploader.bind('FileUploaded', function(Up, File, Response) {
if( (Uploader.total.uploaded + 1) == Uploader.files.length) {
// var myfilename = !!!!!!!!!!!!!
window.location = 'uploaded.php?file=!!!!!!!!!';
};
})
I would really appreciate some assistance with this, frankly it's driving me to distraction!