I wrote a web application in C# that upload an image to the server.
When I try to select (form the HtmlInputFile control) file from a remote computer (and not in the server itself), I get the Exception:
System.IO.FileN otFoundExceptio n: C:\Temp etc....
In other words: it search the file in the server computer (while it suppose to search it on the client computer).
when I select a file from the server itself my function works great.
What can I do in order to get the file from the Client and save it on the server?
Any ideas?
When I try to select (form the HtmlInputFile control) file from a remote computer (and not in the server itself), I get the Exception:
System.IO.FileN otFoundExceptio n: C:\Temp etc....
In other words: it search the file in the server computer (while it suppose to search it on the client computer).
when I select a file from the server itself my function works great.
What can I do in order to get the file from the Client and save it on the server?
Any ideas?
Comment