'.' doesn't change anything
Thanks for the suggestion Jimmy.
It still does not work.
I also created a new folder "Download" on the root, and placed the pdf file in that folder.
I then modified the DFP settings in the PHP to;
<?php require_once("WA_DigitalFilePro/HelperPHP.php"); ?>
<?php
WA_DFP_SetupDownloadStatusStruct("WA_DownloadResult1");
if(isset($_POST["download"])){
WA_DFP_DownloadFile("WA_DownloadResult1", "Download/", "Test.pdf", "[FileName]", false, false, false, "", "", "", "");
}
?>
This also did not work. I did try typing a URL directly to the file, in the browser, and this opened the file OK. So I know the files is there !
If I put this text at the start of the PHP file; <?php echo(realpath('Download/')); ?>
The path is reported as "D:\Hosting\2861511\html\Download\"
Does this affect, in anyway, the path I should enter in the DFP settings above ?
What next ?