Re: TempDirectory not working properly

  •  11-16-2011, 3:14 AM

    Re: TempDirectory not working properly

    Dear shahromil88,
     
     The *.resx file under temp folder is temp file AjaxUploder uses, 
    You need to use method below to copy or move the attachment to saving folder.
    1. void Uploader_FileUploaded(object sender, UploaderEventArgs args)  
    2.     {  
    3.         //Copys the uploaded file to a new location.  
    4.         args.CopyTo("c:\\temp\\"+args.FileName);  
    5.         //args.MoveTo("c:\\temp\\"+ Path.GetExtension(args.FileName)  
    6.     } 
     
     
    Regards,
    Jeff
View Complete Thread