Removing Uploaded Files in the Temporary File Location

  •  11-18-2009, 3:57 AM

    Removing Uploaded Files in the Temporary File Location

    Dear CuteSoft Support,
     
    We are new to your product... earlier we asked how we could upload our files to a desired folder during runtime. We found that this was possible by executing this statement during PageLoad():
     
     <CuteWebUI:UploadAttachments ID="FileBrowser" runat="server" InsertButtonID="Button1" ManualStartUpload="true" AutoUseSystemTempFolder="true" ShowRemoveButtons="True"></CuteWebUI:UploadAttachments>
    FileBrowser.TempDirectory = "C:\\Temp";  // this is the code-behind
     
    However, now that we can dynamically assign the Temporary File Location, once the files are uploaded into C:\\Temp, we cannot remove it with the Remove Button in the UploadAttachments control.  Are we doing something wrong here?
     
    As we are new and are evaluating this product, can you let us know how we can copy the uploaded files to another folder and restore the filename to its original name (e.g., convert your filename, say, persisted.a8bc9s8d-28d7s76-dis7s65a.file1.doc.resx back to its original name file1.doc)?
     
    Thanks in advance.
     
    Regards,
    Michael
     
View Complete Thread