NetTalk Central

Author Topic: File Download Issues with Example 40  (Read 3255 times)

Richard I

  • Sr. Member
  • ****
  • Posts: 383
    • View Profile
    • Email
File Download Issues with Example 40
« on: October 03, 2019, 01:56:13 PM »
Hi
I have incorporated the example 40 into my app.
it works, but the data is wrong, when run over the web
When run from localhost the data is correct
The data being generated is correct

I have  checked the number of CSV file available to download ( using Everything.exe) and have deleted them all. both from the remote server and local machine.
Could an earlier file be locked in the Browsers cache?
Is there anything else I need to do?

Im assuming FileDownload retrieves the file from the directory the FileDownload.exe is located?

Thanks
Richard
NT 11.19




Matthew51

  • Full Member
  • ***
  • Posts: 151
    • View Profile
    • Email
Re: File Download Issues with Example 40
« Reply #1 on: October 07, 2019, 02:55:28 PM »
You should be sure that this is the method you need to serve a file (note the warnings all over that example). The simplest and safest way to serve a file is to have it located inside the web folder. The web server will let any user download any file in that folder if they do a get.
Contractor with 10+ years of NetTalk experience looking for work.
www.linkedin.com/in/matthew-leavitt
BisWare.ca
Check out my free EasyTime Template