Hi, do you know whether your web server is 32 or 64 bit? You can see it at the Main page of the plugin’s area in Dashboard.
Nickolas
It´s a 32 bit based webserver.
Yes maybe this is the problem. The temporary file you saw should be able to grow above 1GB and reach 2GB (this is the default value of the plugin for partial files). However 32bit servers cannot handle so large files (it is actually more complex, some times they do, sometimes they don’t).
You have 2 alternatives:
1. Upgrade to a 64 bit server, which is strongly recommended if you are working with files over 1GB.
2. You can try changing the size of the partial file by going to Advanced tab in Dashboard area of the plugin, locating option “Max Size of Temporary Partial File” and setting a smaller value e.g. 536870911 bytes (0.5GB). However I am not very sure if this will solve the problem.
Nickolas
Many thanks for your suggestions.
Great and fast support.
I will try and see what works 🙂
Jan
Hello Nickolas and everyone who might be interested.
A few hours of trial and error i´m a few steps ahead. After reducing the Chunk size to about 0,5 GB a was able to upload larger files to the webserver. However my server is unable to concatenate the chunks due to the total filesize and will leave them split.
My current work around is to download these chunks to a linux system and concatenate them by hand ( $ cat chunk1 chunk2 … chunkn > outputfile).
As i dont expect frequent uploads that need high automatation in data processing this is an acceptable (affordable) solution for me right now.
I wonder if i can comment out the concatination process in the plugin and just return a succes flag so the user will know, that the uplaod is complete. Could you kindly advice the file i would have to look for?
Best regards,
Jan
Hi Jan, yes, you need to edit file /lib/wfu_processfiles.php found in the plugin’s directory. You need to go to line 817:
if ( !wfu_concatenate_temp_files($_SESSION[$chunk_map."_fileparts"], $target_path, $params["ftpinfo"]) ) {
and replace it with:
if ( false ) {
Try it and let me know.
Nickolas
Hello Nickolas, after replacing the suggested if statement, the user would get the succes feedback after uploading is finished. Thank you for showing the exact palce in code to look at 🙂
I also scrolled a little bit through the script, tested my luck and removed the 2GB filesize limit due to the 32 bit based system. (lines 365 and 397).
My upper filesize limit is now set through the adjustable parameter in the plugin settings and i just uploaded a 15GB file for testing purpose. Everything worked well !
Many many thanks for your effords and great support. Wish you a nice weekend 🙂
Impressed that your server managed such a big file! well done.
Let me know if you need anything else.
Regards
Nickolas
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
@nickboss Don’t support your customers on this site. It’s not allowed here.
For pro or commercial product support please contact the author directly on their site.
As the author is aware, commercial products are not supported in these forums. As you are their customer I am sure they will have no problem supporting you there.