NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: ralonso2001 on April 15, 2013, 04:49:57 PM

Title: export files to the client PC
Post by: ralonso2001 on April 15, 2013, 04:49:57 PM
Although NetTalk is client server
I need to export txt, csv to client pc, any idea or example?

thanks
Title: Re: export files to the client PC
Post by: Bruce on April 15, 2013, 11:02:58 PM
So you will create the txt file or csv file on the server? That's trivial to do using normal Clarion code.
There's an example (the Excel one) which creates an Excel file, using Office Inside. If you don't have Office Inside the example is
probably still useful because it shows the "creation of a file" in an app - which I think is what you're after.

cheers
Bruce


Title: Re: export files to the client PC
Post by: ralonso2001 on April 16, 2013, 04:36:38 AM
office inside NetTalk integrates with exports to a client pc?.

The problem I had is that exports are saved on the server
Title: Re: export files to the client PC
Post by: Bruce on April 16, 2013, 05:45:26 AM
correct, exports are always created on the server, because the data is on the server, not on the browser, and because browsers have very little ability to write files to the local drive.

So you create the file on the server, then allow the user to click on a link to download the file. the Progress control is very good for this.

cheers
Bruce