Re: FileName's problem (WHY???????)

  •  11-17-2008, 4:35 AM

    Re: FileName's problem (WHY???????)

    Hi,
     
    That is a temporary file path that store the uploading data.
     
    AjaxUploader use ".resx" to prevent the file be downloaded or executed without explicit permission.
     
    You need move/copy the temporary file to your own folder in the FileUploaded event.
     
    private void Uploader1_FileUploaded(object sender, UploaderEventArgs args)
    {
          string folder=Server.MapPath("~/UploadFiles/");
          string mypath=Path.Combine(folder,args.FileName);
          args.MoveTo(mypath);
    }
     
    Regards,
    Terry
View Complete Thread