locked
File Download RRS feed

  • Question

  • User1428998676 posted
    Is there a way to force a SaveAs or Download control when a file is held in an upload control?  Basically I have it coded if the file exists in the file upload control to see if the file name already exists in that directory.  If it does I have a message box that pops up asking the user what they want to do.  I have a button they click.  I need a way when that button handler fires to bring up a SaveAs or download dialog to the user so they can rename the file that is being held in the file uploader.  Or is there any easier way?
    Monday, October 30, 2006 5:16 PM

All replies

  • User1001868398 posted

    Why not replacing the link to a link button and doing this:

    Response.Redirect("Filename.ext");

    That will send the file to the browser and is after the user to Save it, rename it or open it

    Saturday, November 4, 2006 3:40 PM