File Upload Widget. Invalid type error with valid file type
Posted: Thu Nov 27, 2014 4:12 pm
Hey guys,
I'm using the file upload widget which works fine but I'm having a problem in a particular scenario.
I've set a few allowed type properties on the upload widget, image/jpg,image/bmp and image/jpeg.
When i select an invalid type of file to upload I get an error "one or more files are of invalid type".
This is good. however when i remove this file and then add a file of a valid type, the error is still displayed.
after submitting again the widget tries to upload the valid file but the program just stalls all the time and never goes forward.
I've tried clearing the "UPLOADINFO" structure when no file is uploaded from the rpg program but this doesn't help.
Can you help me? Why is the widget preventing me from uploading with a correct file type in the scenario where previously i've chosen an incorrect file type that was removed shortly after the error was displayed.
I'm using the file upload widget which works fine but I'm having a problem in a particular scenario.
I've set a few allowed type properties on the upload widget, image/jpg,image/bmp and image/jpeg.
When i select an invalid type of file to upload I get an error "one or more files are of invalid type".
This is good. however when i remove this file and then add a file of a valid type, the error is still displayed.
after submitting again the widget tries to upload the valid file but the program just stalls all the time and never goes forward.
I've tried clearing the "UPLOADINFO" structure when no file is uploaded from the rpg program but this doesn't help.
Can you help me? Why is the widget preventing me from uploading with a correct file type in the scenario where previously i've chosen an incorrect file type that was removed shortly after the error was displayed.