Sorry, when I use your code, a error messge showed "Error Status=0". I think, I should set a upload folder.
But, I don't want to upload any file.
And your code is excuted when a file has finished uploading. if the file size is very big, I have to wait for a long time. It is not necessary.