Re: file in tempdir ok, uploaddir missing or corrupted

  •  03-17-2011, 10:34 PM

    Re: file in tempdir ok, uploaddir missing or corrupted

    Hi Jim,
     
    I tested your code with Sarari, it does not work
     
    Please ref the code below and test again
     
    1. Private Sub Uploader1_FileUploaded(ByVal sender As Object, ByVal args As UploaderEventArgs)  
    2.         Session("DMfilename") = args.FileName  
    3.         Session("DMdest") = AppDomain.CurrentDomain.BaseDirectory & "Users\DMFiles\" & Session("DMfilename")  
    4.         args.CopyTo(Session("DMdest"))  
    5.         args.Delete()  
    6.     End Sub  
     This method removes Handles Uploader1.FileUploaded and corrects the CopyTo Path Session("DMdest")
     
    Regards,
    Jeff 
View Complete Thread