in reply to Re^3: Can't get Open Document popup window to appear
in thread Can't get Open Document popup window to appear

Thanks again for your response. I rewrote the Perl code to cause it to write the generated HTML code into a file on the webserver (not on the client). I then use the browser to access that file with the Open File... command, and the result works just fine.

So you wrote "Save your page and upload it to your webserver. If the static page works from there, your problem is elsewhere." I didn't actually upload the file to the webserver, I wrote the file directly onto the webserver's disk. So, doesn't this mean that my "problem is elsewhere"?

I chose a read/writeable directory on the webserver and generated a unique filename for the file:

@timedata = localtime(time); $cur_time = join('', @timedata); open (OUTPUT, ">/net/server/other/exec_$cur_time.html");

Then all my PRINT commands go into OUTPUT. I am still not achieving my goal of directing the user to that HTML page, but I am trying to test the theory of whether I am allowed to access a file on the webserver...

Replies are listed 'Best First'.
Re^5: Can't get Open Document popup window to appear
by Corion (Patriarch) on Sep 23, 2011 at 21:59 UTC

    What do you mean by "Open file" command? Do you enter the http:// URL into the address bar or do you do anything else? Only if your page is served via http:// the situation will be comparable to visiting your page through the website. If you use the "Open File" command, as it happens to display a file picker window, and is often accessed through CTRL+O, then the HTML page will not be served through HTTP and thus be able to access local resources through the filesystem.

    Please make sure that you understand the difference between "filesystem" and "HTTP", and make sure your testcases are comparable.