Reading file on client machine from server
I have added functionality which will enable the user to attach a file from web page. and this file will be sent as an attachment to another user. When I try this on my local machine it works fine. I deployed the application on the server. And when I am trying to attach a file its throwing FileNotFoundException. Kindly h开发者_如何学编程elp.
You seems to be reading file system assuming that client is always on server.
Server and Client are different things. Client may be / May not be [all most all the time] on server. You need to upload file then read..
If you can read client's flle system this easily, then we might not have coined the word security
精彩评论