DFP 2 and my download frustration with large .ZIP files
DFP 2.0 is extremely unreliable and fails more times than it works, when I attempt to download a large zip file. The file IS downloaded, the size looks correct, but when I attempt to open the zip file both Windows and WinRAR report the file is corrupt.
If I download the file using Ipswitch WS_FTP it works EVERYTIME !
I have set up 3 test PHP pages;
PHPTestDownload.php
PHPTestDownloadPs.php
PHPTestDownloadPsz.php
each which references the same file, but with a different name (In case it was an issue of the file name or extension). So, one requests a file without any extension, one requests a file with a plain name and .zip extension and one requests the original file name which has '.' in the name and a .zip extension.
All of this (In an .asp page) used to work great with DFP 1 !
This has brought down my commercial download site for clients and I need a solution ASAP.
NOTE : Some of my clients overseas can't download at all, but I and some of my domestic clients can download occasionally. The file size is ALWAYS correct, so it appears to be being corrupted by DFP 2 ....... aaaaarrrrgggghhhhh
PHP example;
<?php echo(realpath('Download/')); ?>
<?php require_once("../WA_DigitalFilePro/HelperPHP.php"); ?>
<?php
WA_DFP_SetupDownloadStatusStruct("WA_DownloadResult1");
if(isset($_POST["download"])){
WA_DFP_DownloadFile("WA_DownloadResult1", "../xxxx/yyyyy/RMPs/", "RIPMasterPs.zip", "[FileName]", false, false, false, "", "", "", "");
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<form id="form1" name="form1" method="post" action="">
<input type="submit" name="download" id="download" value="download" />
</form>
</body>
</html>
Any help/solution will surely be rewarded with vast amounts of good kharma :)
AND, the files all download first time every time if I use Dreamweaver or a direct link !
Come on WebAssist, this needs sorting out ASAP.