NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Richard I on September 30, 2019, 07:29:58 PM
-
Hi
In a NetTalk app I have created a CSV file
I want this file to be either able to be viewed and downloaded manually, OR coded to be sent to the Users desktop (preferably)
COPY(clip(loc:Hall)&'.CSV', to users desktop
(I have looked at the File Download example but wondered whether there is an auto option.)
How to please......
Cheers
Richard
-
Is the users' app a desktop app? (Versus a web app.)
-
Don , its a NetTalk Web app
R
-
The most you can do is inform the browser that you want a file downloaded. The browser then chooses where to save it. Most likely to the downloads folder. This is to protect users from attackers, or just bad web developers saving files they shouldn't to location their not allowed.
If the csv file is created at run time, and only expected to be downloaded once I recommend using a "start" button with a progress field. Beginning the file name with $$$ or @@@ and the server will delete the file after it's been served.