JDownload 2.5 Filesize>2Gb = File not found

Files and folders downloader add-on with resume support.
Post Reply
LoVer
Posts: 2
Joined: Tue Aug 17, 2010 8:00 am

JDownload 2.5 Filesize>2Gb = File not found

Post by LoVer »

Hi everyone!
I bought pro license JFD2.5 and now trying to configure it to download files and folders from remote server.
And now I have such problem: files and folders downloads success only if file size less than 2Gb! How could it be??? If file more than 2GB - text displays: Download failed: <file> not found.
Here is my code:
<APPLET CODE="jfileupload.upload.client.MApplet.class" JAVA_CODEBASE="./" ARCHIVE="lib/jfileupload.jar,lib/httpimpl.jar,lib/chttpclient.jar,lib/clogging.jar,lib/download.jar" WIDTH="480" HEIGHT="110" NAME="fileupload">
<PARAM NAME="regfile" VALUE="license.oxw">
<PARAM NAME="transferuiparam1" VALUE="regfile">
<PARAM NAME="transferuivalue1" VALUE="download.oxw">
<PARAM NAME=CODE VALUE="jfileupload.upload.client.MApplet.class">
<PARAM NAME=CODEBASE VALUE="./">
<PARAM NAME=ARCHIVE VALUE="lib/jfileupload.jar,lib/httpimpl.jar,lib/chttpclient.jar,lib/clogging.jar,lib/download.jar">
<PARAM NAME=NAME VALUE="fileupload">
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.4">
<PARAM NAME="scriptable" VALUE="true">
<PARAM NAME="url" VALUE="http://99.99.99.99/process.php">
<PARAM NAME="item1" VALUE="File01.rar">
<PARAM NAME="folderdepth" VALUE="-1">
<PARAM NAME="param2" VALUE="relativefilename">
<PARAM NAME="value2" VALUE="true">
<PARAM NAME="param6" VALUE="account">
<PARAM NAME="value6" VALUE="Dir1/Subdir1">
<PARAM NAME="resume" VALUE="true">
<PARAM NAME="overwrite" VALUE="false">
<PARAM NAME="forward" value="">
<PARAM NAME="encoding" VALUE="ISO-8859-1">
<PARAM NAME="transferui" VALUE="jfileupload.download.ui.DownloadTransferUI">
<PARAM NAME="resources" VALUE="i18n_bar">
<PARAM NAME="transferuiresources" VALUE="i18n_pane">
<PARAM NAME="mode" VALUE="jfileupload.download.http.HTTPDownloadTransfer">

Please, help me ASAP! What am I doing wrong?
Last edited by LoVer on Tue Aug 17, 2010 8:11 am, edited 1 time in total.

LoVer
Posts: 2
Joined: Tue Aug 17, 2010 8:00 am

Re: JDownload 2.5 Filesize>2Gb = File not found

Post by LoVer »

Remote server is on Linux+Apache 2.1

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: JDownload 2.5 Filesize>2Gb = File not found

Post by support »

Which version of PHP are you using? Some PHP are not able t get filesize for file > 2GB.
Could you try the following PHP on your file > 2GB:

Code: Select all

$file = "/home/user1/yourbigfile.zip";
$date = fileatime($file);
$size = filesize($file);
echo $date;
echo $size;

Post Reply