.net 2.0: ASP.NET 2.0 upload path, rooted path??
- From: "diDE" <dez@xxxxxxxxx>
- Date: 22 Aug 2005 05:42:31 -0700
hi!
i'm using asp.net 2.0 (visual studio 2005 beta)
i got an error when i'm trying to save an uploaded file (web
application) to a folder of the web application.
UploadedFile.PostedFile.SaveAs (Path);
where Path = "..\\upload\12345\\filename.jpg"
Error Message:
The SaveAs method is configured to require a rooted path, and the path
'../upload/12345/filename.jpg' is not rooted
any ideas?
.
- Follow-Ups:
- Re: .net 2.0: ASP.NET 2.0 upload path, rooted path??
- From: Robert Megee
- Re: .net 2.0: ASP.NET 2.0 upload path, rooted path??
- Prev by Date: Causing AutoRun to occur via code
- Next by Date: Re: Printer status
- Previous by thread: Causing AutoRun to occur via code
- Next by thread: Re: .net 2.0: ASP.NET 2.0 upload path, rooted path??
- Index(es):
Loading