Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 15 of 15 total
Thread Showing excel file from ewb
Tue, May 17 2016 5:00 PMPermanent Link

Huseyin Aliz

myBiss ApS

Avatar

Tim,

I started studying the pdf module, but could not make it work with
blob/dataset/dbisam combination, probably because my lack of knowledge Smile

Anyway, after getting help from Raul, i am almost satisfied using native
dbisam/tbrowser solution. If I just can get tbrowser to save the
filename stored in a column from dbisam table/dataset, then i am good
for now.. if it's not possible, then i need to use more time to read
about the module stuff Smile

Regards,

Hüseyin



On 17-05-2016 18:23, Tim Young [Elevate Software] wrote:
> << The next option tplugin/tbrowser are more usable but here i need to change the filename which are downloaded (excel file downloads - pdf file show inside..) currently it sets "dataset" as filename. Another (for me) option would be to force the user to download the file regardless if file type are known etc, kind of "downloadonly" property
> for tplugin/tbrowser Smile>>
>
> Check out the PDFModule example web server module project - it shows you how to deal with this.
>
> In general, you're not going to want to use the dataset handling for what you're trying to do, but rather do something more like what the PDFClient/PDFModule example projects are doing.
>
> Tim Young
> Elevate Software
> www.elevatesoft.com
>
Tue, May 17 2016 5:41 PMPermanent Link

Raul

Team Elevate Team Elevate

On 5/17/2016 4:54 PM, Hüseyin Aliz wrote:
> (pdf), and only issue left for me now is the name of the downloaded file
> (unknown type -> dataset.zip), if it can be changed so it uses filename
> stored in another column from the table, i will be happy, if not i need
> to use more time learning how to setup a module for other ways of doing
> what i want.. Thanks again Smile

Hüseyin,

One way server can provide a filename would be to populate the http
response header with it - i believe it's Content-Disposition one (i.e.
Content-Disposition: attachment; filename="<your file name>" ).

Today it would require either custom module or Tim adding support for
this into the EWB web server (he already populates the Content-Type from
table column so this would be similar).


Raul

Wed, May 18 2016 3:15 AMPermanent Link

Huseyin Aliz

myBiss ApS

Avatar

Raul,

Thanks, let's wait and see what Tim has to say about it Smile

Regards,

Hüseyin


Den 17-05-2016 kl. 23:41 skrev Raul:
> On 5/17/2016 4:54 PM, Hüseyin Aliz wrote:
>> (pdf), and only issue left for me now is the name of the downloaded file
>> (unknown type -> dataset.zip), if it can be changed so it uses filename
>> stored in another column from the table, i will be happy, if not i need
>> to use more time learning how to setup a module for other ways of doing
>> what i want.. Thanks again Smile
>
> Hüseyin,
>
> One way server can provide a filename would be to populate the http
> response header with it - i believe it's Content-Disposition one (i.e.
> Content-Disposition: attachment; filename="<your file name>" ).
>
> Today it would require either custom module or Tim adding support for
> this into the EWB web server (he already populates the Content-Type
> from table column so this would be similar).
>
>
> Raul
>
>
Fri, May 20 2016 8:45 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Huseyin,

<< Thanks, let's wait and see what Tim has to say about it Smile>>

Raul is correct - I'll have to add support for the Content-Disposition header in order to have the datasets return that in addition to the Content-Type header for BLOBs.

Tim Young
Elevate Software
www.elevatesoft.com
Sat, May 21 2016 10:03 AMPermanent Link

Huseyin Aliz

myBiss ApS

Avatar

Tim,

Thank you. I guess it will be added in the next release? Smile

Regards,

Hüseyin

On 20-05-2016 14:45, Tim Young [Elevate Software] wrote:
> Huseyin,
>
> << Thanks, let's wait and see what Tim has to say about it Smile>>
>
> Raul is correct - I'll have to add support for the Content-Disposition header in order to have the datasets return that in addition to the Content-Type header for BLOBs.
>
> Tim Young
> Elevate Software
> www.elevatesoft.com
>
« Previous PagePage 2 of 2
Jump to Page:  1 2
Image