NetTalk Central

Author Topic: File Download Example # 40  (Read 3080 times)

rjolda

  • Sr. Member
  • ****
  • Posts: 329
    • View Profile
    • Email
File Download Example # 40
« on: April 14, 2010, 04:20:58 AM »
Hi,
Using Net Talk 5 Web server example 40 File Download.  C6.3 9055

When I click on Document 1 it opens a window :   http://localhost:88/ServeDocument?name=doc1.pdf

Then I get a 404 error - page cannot be found.

The file doc1.pdf does exist in the directory that I am running the Web server in.

So....

Questions:
1.  Does the Web App serve files from the running directory or below the running directory?
2. Why does the Web Server not see and deliver pdf1.doc if it does exist?
3. Where and how do I specify a file in a different path?

Thanks,
Ron Jolda

rjolda

  • Sr. Member
  • ****
  • Posts: 329
    • View Profile
    • Email
Re: File Download Example # 40
« Reply #1 on: April 14, 2010, 04:57:53 AM »
Aha,
The file has to be in a directory BELOW the Web app - then it will download OK!
Ron