Form Posting - How to retrieve File Details

Last post 08-08-2011, 8:12 PM by cutechat. 2 replies.
Sort Posts: Previous Next
  •  08-04-2011, 11:57 AM 69271

    Form Posting - How to retrieve File Details

    when the upload of the files ends, the user is sent to a another page using the <form>
    On this page can i find out what file single has been uploaded name etc....
     
    I have seen some sample code for something similar but it doesnt appear to work
     
    thanks in advance
     
  •  08-04-2011, 1:43 PM 69273 in reply to 69271

    Re: Form Posting - How to retrieve File Details

    for info when i request the myuploader , i get the following
     
    5350724a-7e8e-417a-971a-471be94951a1
     
    ??
  •  08-08-2011, 8:12 PM 69421 in reply to 69271

    Re: Form Posting - How to retrieve File Details

    Hi,
     
    Upload upload the file to the server at background.
     
    And returns the GUID as the form data.
     
    When you get the GUID , you can use the
     
    SET mvcfile=uploader.GetUploadedFile(GUID)
     
    to recieve the temp file
     
    you can use mvcfile.FileName/FileSize to get the file information
     
    and use mvcfile.FilePath to get the temp path of the server disk.
     
    Regards,
    Terry
View as RSS news feed in XML