• Dear nickboss,

    yesterday i upgraded to pro version and all files with less filesize than 1.073.741.824 bytes will upload fine.

    Somehow files larger than 1GB will create temporary files, that freeze at this size of 1.073.741.824 bytes and the upload wont finish. (progress bar will still finish and freeze at the end)

    I wonder if you have any advice, scince i already tried to adjust the following parameters.

    upload_max_filesize
    post_max_size
    max_file_uploads
    memory_limit
    max_input_time

    Thanks in advance and best regards.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author nickboss

    (@nickboss)

    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

    Thread Starter janfrey

    (@janfrey)

    It′s a 32 bit based webserver.

    Plugin Author nickboss

    (@nickboss)

    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

    Thread Starter janfrey

    (@janfrey)

    Many thanks for your suggestions.
    Great and fast support.

    I will try and see what works ??

    Jan

    Thread Starter janfrey

    (@janfrey)

    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

    Plugin Author nickboss

    (@nickboss)

    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

    Thread Starter janfrey

    (@janfrey)

    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 ??

    Plugin Author nickboss

    (@nickboss)

    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.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Pro Version File Size > 1GB’ is closed to new replies.