PDA

View Full Version : Ajax.request isUpload with POST. Ajax request made when file does not exist



frankl
28 Mar 2011, 6:22 PM
In my code, I can successfully upload files using Ext.Ajax.request. One problem Im trying to resolve is if the file the user specifies does not exist, the Ajax request is still completing and Im seeing a zero length file on the server.


Question: Is there anyway to tell Ext.Ajax.request to fail if the desktop file does not exist?