Under review

Increase Upload Speed

Dave S 2 years ago updated by Vlad R 2 weeks ago 13

Is there a specific line to increase upload speed?

I have 150Mbps UP and Down... but uploads have not been affected. 

With this gain in speed, it would be advantageous to have the ability to increase the UPLOAD speed when uploading from my desktop to the server through filerun. 

The transfer speeds to and from a FileRun installation depends mainly on your network connection.

Other factors that can affect upload speed is the speed of your server's disk (as upload go through a copy process from one location to another), and for large uploads there is also the configured "upload_max_filesize" and "post_max_size" which both dictate the size of the chunks larger files are uploaded via (the more chunks, the longer the total upload time - note that transfer speed per chunk is not affected).

Thank you for the reply. 

How would I implement the "upload_max_filesize" and "post_max_size"? I could give this a try and see if it helps. 

Those are standard settings which you will find in your server's main "php.ini" configuration file. Your server administrator should help you find its location. Accessing with the URL of a ".php" file that has the following code "<?php phpinfo();" inside should also provide information on your PHP configuration and the location of the ini files.

I found uploading big files (100-250MB) faster through cPanel File Manager compare with Filerun Dashboard. Is there a way to increase upload speed further? 

I have "upload_max_filesize" and "post_max_size" both 128MB. 

It is technically impossible for the data to move from your computer to the server at different rates using the exact same network protocol. Perhaps there is something else that makes it look like the transfer is slower, such as:

- e-mail notifications being sent at the end of the transfer

- the server running an antivirus on the file's data

- the PHP temporary upload folder is on a different drive, making the move slow

- your mentioned configuration has the files uploaded by FileRun in 128 MB chunks. The more chunks, the more overhead, adding to the total upload time.

I meet the same problems, when I upload files via SFTP, it usually in about 3MBytes/s but when I use FileRun, it usually in ~60KBytes. though SFTP is consisder as one of the fastest protocols, I dont think it is OK to meet such a difference.

Something must be terribly wrong with your web server, PHP or FileRun setup if you are getting such differences.

Again same problem here. using SCP i can get up to 50 MB/s however using filerun i max at around 20 MB/s.

My Setup:

I got filerun installed on a raspberry pi 4. I have my both my filerun home folder and the "upload_tmp_dir" php option set to the same WD Red hdd which can reach up to 200 MB/s when i run I/O benchmarks
My chunk size is 100 MB so stopping transfer tomove from the tmp file to the destination is minimal
I have a gigabit connection from my raspberry pi to my computer however my internet speed is 25 MB/s

My guess is filerun may still be using the sd card to temporarily store the files somehow
Or it is unable to utilize the LAN network and is bottle necked by my internet's speed (Even though I am logging in using the local IP address).

If you can give me any tips of why you think this is happening I'd highly appreciate it

Under review

1. Check PHP's configured "upload_tmp_dir".

2. How do you know what's your chunk size? Are you using the latest FileRun version. What are the values of "upload_max_filesize" and "post_max_size"?

P.S. Comparing transfer speeds between protocols is like comparing apples to oranges. SCP will always win at throughput.

My php configuration has the following:


I ensured they are not being overridden by printing phpinfo()

My chunk size was set in /customizables/config.php by writing $config['app']['upload']['chunk_size'] = 104857600; as you have shown us in your reply here
I confirmed that it is actually changing by observing how the upload hangs for a bit while it copies the chunk from tmp to destination after finishing each chunk.

My filerun version is 2019.06.01

Finally, what is the protocol used by filerun for transferring files? Does it have to be http? If there are better protocols to transfer large files why not use them?


It's a web application, so it only uses HTTP. There is no other protocol to be used by a browser for file transfers.

How long does it take for you to load your FileRun installation in a browser? (Mainly interested in the time the main HTTP request to the installation URL takes to return the server's response.)

Sorry forgot to respond..
Loading the installation seems almost instant.
Not sure how I can quantitatively measure it though

I recommend you to update FileRun to the latest version and let me know if you are still experiencing any upload speed issues.