Forums

Files too big for uploading; How do I insert into database directly? (3 posts)

  1. extrakun
    Member
    Posted 3 years ago #

    I have a couple of large files (40mb) to add into the media library; unfortunately, the php.ini is locked by the server administrator to be 2mb. I have MySQL knowledge and so I am just wondering how do I directly insert the file information into the media library?

  2. JLeuze
    Member
    Posted 3 years ago #

    Umm, my quick and dirty suggestion would be to upload a 2MB version of the file though the media uploader, and then go in through FTP and replace it with the 40MB version.

    If the file name is the same, WordPress shouldn't know the different!

  3. extrakun
    Member
    Posted 3 years ago #

    This works. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic