Re: .net 2.0: ASP.NET 2.0 upload path, rooted path??



On 22 Aug 2005 05:42:31 -0700, "diDE" <dez@xxxxxxxxx> wrote:

>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"
if this isn't a type shouldn't this have a double \\
between upload and 12345?

Q
.


Loading