• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Upload large files

#1
Is there any support for uploading large files in slices to prevent any hassle with PHP file or upload limits? Typical examples are movies...
Reply

#2
@HardyW & Nona,

Maybe this link will help...https://stackoverflow.com/questions/16102809/how-to-upload-large-files-above-500mb-in-php

Also, you should have access to change the PHP settings at your host. If not maybe you might want to consider moving to a new hosting company.
Reply

#3
as @php_rocs said, if you want to upload big files you have to change the file size limit and your time to upload files in your server( in php.ini)
Reply

#4
(01-19-2019, 03:35 PM)HardyW Wrote: Is there any support for uploading large files in slices to prevent any hassle with PHP file or upload limits? Typical examples are movies...

I am using tus upload from https://tus.io/ . They do not have official php implementation but this library from https://github.com/ankitpokhrel/tus-php has the server side implementation. On the front end, I use Uppy from https://uppy.io

I am using the above combination to upload videos upto 1GB and it does a good job. You might need to do trial and error on the php implementation side as the php library has some hard coded urls and bugs with missing documentation.
Reply

#5
Perhaps investigate Bittorrent:

https://en.wikipedia.org/wiki/BitTorrent
download and make your system directory strict
Reply

#6
If you're using AWS, there is direct multipart uploads to s3
Codeigniter is simply one of the tools you need to learn to be a successful developer. Always add more tools to your coding arsenal!
Reply

#7
I've just stumbled across this free file sharing online utility with a 10 Gb limit:

https://transfer.sh/

If you try it, please let us know if it was successful.
download and make your system directory strict
Reply

#8
2 Ways to Upload Large Files in PHP
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply

#9
Lots of good resources already. I’ll plug my CodeIgniter 4 Files module - it uses DropZone as the front-end which handles slicing into sizes that you configure. There’s a fair amount about it that is preset at the moment, but you can reuse the views wherever you like (or merge and edit) if you need this embedded in an existing page.

https://github.com/tattersoftware/codeigniter4-files
https://packagist.org/packages/tatter/files
composer require tatter/files
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.