NetTalk Central

Author Topic: wrong download name  (Read 2029 times)


  • Newbie
  • *
  • Posts: 27
    • View Profile
    • Email
wrong download name
« on: April 27, 2008, 06:03:19 AM »

I have a download button in my App. The Client klicks on it and will be asked by the Browser to download the file or to search for a program to open it. The download works.

My problem is: the Browser shows the wrong filename in the dialog ! My download files are Exe's (I tweaked ValidateFilename - as I said it works). So the options in the Browser Dialog should be "download" or "execute". The name presented by the Browser is the procedure name of the Netwebpage procedure (also ServeDocument in my case). That means after downloading I have a file named ServeDocument without any extension. After renaming to ...exe it is executable.

How and where do I set the filename presented by the browser ? (... in _SendFile or so)

TIA, Thomas