Working with Load Balancer

Last post 05-10-2013, 12:27 PM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  05-10-2013, 2:08 AM 77402

    Working with Load Balancer

    I am having trouble uploading via the C:\Windows\Temp folder using the Single File Upload example. I suspect it is because we use load balancers.

     

    How can I change this directory to a UNC or virtual directory on the web site so no matter which web server is handling the page it can find the uploaded file before moving it.

     

    Thanks,

    Scott 

  •  05-10-2013, 12:27 PM 77409 in reply to 77402

    Re: Working with Load Balancer

    Hi ScottBoz,

     

    You can set property "TempDirectory" to change the temp folder location of the uploader. Create a virtual directory and set it for the TempDirectory property.

     

    uploader.TempDirectory="D:/site/aspuploader/mytemp/" 

     

    Regards,

     

    Ken 

     

View as RSS news feed in XML