I have created a new project and i have follow this steps:
1- Create a new webapplication for VB via Visual Studio 2010 Ultimate
2- Install AjaxControlToolkit 7.1213 via NuGet Packages
3- Add the <httpHandlers> to system.web
4- Create a new aspx page and add the AjaxFileUpload
ASPX File
```
<ajaxToolkit:ToolkitScriptManager runat="Server" />
<ajaxToolkit:AjaxFileUpload ID="AjaxFileUpload1" runat="server" />
```
ASPX.VB file
```
Private Sub AjaxFileUpload1_UploadComplete(sender As Object, e As AjaxControlToolkit.AjaxFileUploadEventArgs) Handles AjaxFileUpload1.UploadComplete
Dim strPath As String = MapPath("~/upload/") + Path.GetFileName(e.FileName)
AjaxFileUpload1.SaveAs(strPath)
End Sub
```
And When a i upload a file this file arrives to the server corrupted if has special chars on this name like º,ª,ã,õ.
Whats is happening??
This is the link with the all project:
[https://dl.dropboxusercontent.com/u/4566444/FileUploadFinalTest.rar](https://dl.dropboxusercontent.com/u/4566444/FileUploadFinalTest.rar)
Thanks, and sorry for my bad English
1- Create a new webapplication for VB via Visual Studio 2010 Ultimate
2- Install AjaxControlToolkit 7.1213 via NuGet Packages
3- Add the <httpHandlers> to system.web
4- Create a new aspx page and add the AjaxFileUpload
ASPX File
```
<ajaxToolkit:ToolkitScriptManager runat="Server" />
<ajaxToolkit:AjaxFileUpload ID="AjaxFileUpload1" runat="server" />
```
ASPX.VB file
```
Private Sub AjaxFileUpload1_UploadComplete(sender As Object, e As AjaxControlToolkit.AjaxFileUploadEventArgs) Handles AjaxFileUpload1.UploadComplete
Dim strPath As String = MapPath("~/upload/") + Path.GetFileName(e.FileName)
AjaxFileUpload1.SaveAs(strPath)
End Sub
```
And When a i upload a file this file arrives to the server corrupted if has special chars on this name like º,ª,ã,õ.
Whats is happening??
This is the link with the all project:
[https://dl.dropboxusercontent.com/u/4566444/FileUploadFinalTest.rar](https://dl.dropboxusercontent.com/u/4566444/FileUploadFinalTest.rar)
Thanks, and sorry for my bad English