Category: Web Development

Sometimes you need to upload a large file but before you pick the very first choice you have to step back and ask yourself what am I trying to achieve in the first place.

Note: Please, read the post first and then watch the video explanation after.

I think the guy from Getting Things Done mentioned that if we think on paper we'd be more effective.

Does the file need to be stored only for a brief period of time?

Who is going to use it?

For many cases you can use a cloud storage such as Dropbox to store the file. You just need to add the file on your computer or upload it via their web interface and share the link.

After the file is downloaded you can delete it.


Of course there could be good reasons where you'd definitely and positively need the file to be stored on your own server.

Maybe you want to host a video on your site even though YouTube, Vimeo, Amazon S3 are great options.

One option is to use FTP program to upload the file.


One of the services we offer is WordPress migration. We found some effective ways to transfer large files from one server to another.

One of the approaches we've used is to add the large file to a Dropbox folder. This could be the client sharing the file from their account.
The next step is to copy the shared download link.

You have probably noticed that Dropbox adds dl=0 to the each link which is nice because you can just replace the 0 (zero) with 1 and that way the link will become a direct download link.

Configure the dl.php script and when you run it you will see this message.

Continuing in background, pid 21338.

Note: the script will work if shell_exec function is NOT blocked by your hosting provider AND the server is running Linux operating system.

Here's a video explanation about this post.



Join our mailing list

Get important news about cool products we release and invitations to beta test new products
We're working on a secure & flexible WordPress hosting solution. Read for more info (has 1min video)