KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: MikaRinne1970 on May 18, 2012, 10:39:58 am

Title: digital download link question
Post by: MikaRinne1970 on May 18, 2012, 10:39:58 am
Guys,

when clicking the digital download (in any broser) it shows

"download.do"

as file name for downloading. Not very convenient.

How can I cange this to set the actual filename e.g. my "software.exe" for downloading it ?

Thanks in advance!
Title: Re: digital download link question
Post by: julie on May 18, 2012, 01:23:16 pm
It looks like you don't understand how it works. You need to take a look at DigitalDownloadAction.java.
Title: Re: digital download link question
Post by: MikaRinne1970 on May 19, 2012, 08:11:27 am
Thanks for the pointer Julie, I will look into it.

I haven't touched it yet at all

Mika
Title: Re: digital download link question
Post by: MikaRinne1970 on May 19, 2012, 04:30:38 pm
Maybe you can help me out here.

What do I need to change to have the file downloaded with it's name instead of name "download.do" ?

Like said I'm using the out-of-the-box functionality for this.

What is this "Download as an attachment" ?

Many thanks

Title: Re: digital download link question
Post by: MikaRinne1970 on May 21, 2012, 08:13:13 am
Well, I Just commented that out and this seems to work on all browsers I tested

DigitalDownloadAction.java:

  // Download as an attachment if configured to do so
  //if (kkAppEng.isDdAsAttachment())

Thanks!