Author: VinceArcher23 | Posted on: 7/12/2008 12:34:23 AM | Views : 443

 Hi Experts,
 
I've been researching for this for almost a week now and a can't find the correct solution still. 
 My problem is I am creating a page that will accept a QueryString with the PathAndFile that I want to upload on my server. The URL should look something like this:
http://localhost/SaveDoc.aspx?File=C:\Reports\Audit1.pdf
The file is a path on the client PC that I want to upload on the server. Actually the page doesn't have any controls on it and will just return an XML returning the documentId. This page acts like a webservice.
How can I do that without using the File Upload Control? I tried using System.IO.File Class, I thought it was working perfectly. But when I deployed it on the server the File is being searched on the Server Path and not on Client PC.
 
Thanks for the help in advance!!! 

 
...

Go to the complete details ...