TempDirectory does not seem to work

  •  03-02-2009, 5:08 PM

    TempDirectory does not seem to work

    Hi

    For several security reasons, I need to set the TempDirectory to a folder that cannot be accessed through HTTP.
    To do that, i use 
     
       oUploadAttachments.TempDirectory = @"d:\myTempFolder\";
     
    The upload runs correctly and the uploading.xxx.resx file is created in "d:\myTempFolder\"
     
    But just after that a javascript error box appears:
     "Unable to find the uploaded file in directory: xxxx"
    with xxx is the default uploaderTemp folder.
     
    Any clue?
     
    Looking forward to reading you soon
    TIA
     
    Filed under:
View Complete Thread