CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Cache Files

General discussion

by Futura » 28 Apr 2014 17:57

Hello

I know this is from intraweb, not from cgdevtools, but, maybe anyone here can help me....

I just upgraded my IW version to 14,

I'm using TIWAppCache.AddFileToCache, this function got a MimeType, OK, but after downloading the file, i only got .TMP files... there's a way to save the files as .XLS, .DOC, etc, or if not, download it with the real extension?
Futura
 
Posts: 42
Joined: 10 Jun 2013 18:37

by Jorge Sousa » 28 Apr 2014 18:04

Hi Futura

About your question, we better ask Atozed first, because this is a rather new method in Intraweb.

We'll keep you informed.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by Futura » 28 Apr 2014 18:11

ok, thanks
Futura
 
Posts: 42
Joined: 10 Jun 2013 18:37

by Jorge Sousa » 28 Apr 2014 18:14

Hi again

For the info we had, you must use SendFile(), and not the cache, can you detail this a little more, are you using the cache for report output?
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by Futura » 28 Apr 2014 21:00

yes, i'm using for report output,

the problem is, when i set a SendFile(), i got the following error: Reply type already set.

when i set a IWURLWindow.URI := 'C:\Test.pdf'; it doesn't open after i updated from IW12 to IW14,
i can only open using cache '/$/temp/ATZ348057C71EDD';

the problem is, I let my users choose to open on PDF/HTML/TXT or save as DOC/IMAGE/XLS...
to open is working, but to download is the problem because it downlaod as .TMP, even the PDF is downloading with .TMP
Futura
 
Posts: 42
Joined: 10 Jun 2013 18:37

by Jorge Sousa » 28 Apr 2014 22:32

Hello Futura

the problem is, when i set a SendFile(), i got the following error: Reply type already set.


You can always use JQFileDownload
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58


Return to General - Archive

cron

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.