• Post Reply Bookmark Topic Watch Topic
  • New Topic

uploding a file which does not exist  RSS feed

 
Ramesh sankaranarayanan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
user tries to upload a file for example he types c:\\a.txt in the file box
The file a.txt is not available in the client system..how to check that it is not available before uploading
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can not. The only solution would be a server-side check and give an appropriate message.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The file input form element provides a button for the end user to browse directly their file system. Are you really seeing people try to type this in manually?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!