Hi,
I'm using RadUpload object to upload files in website but I found a problem about this subject. I have the website in a development server using IIS 6.0 (with windows 2003 server) and I would like upload the files by website in a file server (with windows 2003 server).
So, after to publish the website in a development server, I created virtual directory (in that structure) to indicate the paste I created in a file server. I mapped the network drive to use in this virtual directory. In a development server, the path to access the paste in a file server is: "Z:\Upload".
When I'm using the page I have RadUpload object, the page has the code as you can see below to upload files:
string targetFolder = Server.MapPath("~/Arq");
validFile.SaveAs(Path.Combine(targetFolder, nameFile), true);
PS: (Arq is alias used in virtual directory)
When the website try to save the file, I have an exception with the message as you can see below:
"Cant' find the part of the path Z:\Upload\testfile.pdf" or "Can't find the path Z:\Upload\testfile.pdf".
I tried give permissions to iis user for the paste, but I couldn't do it.
Anyone know how I can overcome this problem?
I'm using RadUpload object to upload files in website but I found a problem about this subject. I have the website in a development server using IIS 6.0 (with windows 2003 server) and I would like upload the files by website in a file server (with windows 2003 server).
So, after to publish the website in a development server, I created virtual directory (in that structure) to indicate the paste I created in a file server. I mapped the network drive to use in this virtual directory. In a development server, the path to access the paste in a file server is: "Z:\Upload".
When I'm using the page I have RadUpload object, the page has the code as you can see below to upload files:
string targetFolder = Server.MapPath("~/Arq");
validFile.SaveAs(Path.Combine(targetFolder, nameFile), true);
PS: (Arq is alias used in virtual directory)
When the website try to save the file, I have an exception with the message as you can see below:
"Cant' find the part of the path Z:\Upload\testfile.pdf" or "Can't find the path Z:\Upload\testfile.pdf".
I tried give permissions to iis user for the paste, but I couldn't do it.
Anyone know how I can overcome this problem?