SA-Filemanager -Setting filename

Results 1 to 2 of 2

Thread: SA-Filemanager -Setting filename

  1. #1
    Briggs Guest

    Default SA-Filemanager -Setting filename

    I have the SA-FileManager component installed.<BR>The question I have is can I set the name of the file that is grabbed and sent to the user? Right now it uses the name of the asp file and the correct extention that I have set up in the MIME type.<BR>So:<BR>the file is:<BR>the asp is: getFile.asp<BR><BR>it sends:<BR><BR>The correct file is sent, but I need to name it.<BR>I am trying to figure out if there is a property for this. Anyone?<BR><BR>&#060;/briggs&#062;<BR><BR><BR><BR><BR>

  2. #2
    Andreas Kaiser Guest

    Default RE: SA-Filemanager -Setting filename

    Try to play with Content-Type, for Example:<BR><BR>Response.AddHeader "Content-Disposition", "inline;"<BR>Response.Content Type = "application/x-msdownload"<BR><BR>The last line is required for automatic open of "Save As..." Dialog. It works with both browsers. If you don&#039t wish it, skip this line. But the pictures or PDF-Docs and all, that have a plug-in (also *.doc in IE or PDFs in NC) will be viewed im Browser and not downloaded. I use this line always.<BR><BR>WBR<BR>Andreas Kaiser

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts