Bizkaitarra
Member
- Joined
- Feb 8, 2007
- Messages
- 6
- Programming Experience
- 1-3
Hi!!
I am trying to updload a file with the control file upload.
My code is this:
I get rutaDestino (destinationPath in english) from a function of the aplication. This path is a relative path:
This path is wrong and I can´t updload the file
Somebody could help me? Thanks!
I am trying to updload a file with the control file upload.
My code is this:
VB.NET:
[SIZE=2][COLOR=#0000ff]Me[/COLOR][/SIZE][SIZE=2].FileUpload1.SaveAs(Server.MapPath(rutaDestino))[/SIZE]
When the server converts the path, it returns:~/GAPI/Apuntes/filename
HTML:
c:Documents and SettingsJonEscritorioGAPIApuntes-filename
This path is wrong and I can´t updload the file
Somebody could help me? Thanks!