GetUploadedFile - Not working

Last post 04-05-2010, 11:41 PM by cutechat. 1 replies.
Sort Posts: Previous Next
  •  04-05-2010, 2:38 PM 59881

    GetUploadedFile - Not working

    I'm using the Classic ASP solution and once I specify the "AllowedFileExtensions" and "SaveDirectory" properties, I'm not able to retrieve the file names. It's failing on the following lines in the code.
     
    Dim mvcfile
    Set mvcfile=uploader.GetUploadedFile(list(i))     <--------

    And, within the class file, it fails on this line.
     
    file.Init(Impl.GetUploadedFile(guid))
     
    Anyone else have this problem? Any help would be appreciated.
     
    Thanks.
    Filed under:
  •  04-05-2010, 11:41 PM 59889 in reply to 59881

    Re: GetUploadedFile - Not working

    Hi,
     
    If you specify the SaveDirectory , the temp file will move to SaveDirectory, and the GetUploadedFile will not work.
     
    SaveDirectory is a very basic function.  If you want to control the uploaded file, please do not use that property.
     
    Please check other samples, the samples will tell you where you can handle the files.
     
    Regards,
    Terry
     
View as RSS news feed in XML