Ticket #4284 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

Movable Type Importer limited by browser-based upload

Reported by: markjaquith Owned by: anonymous
Priority: normal Milestone: 2.3
Component: Administration Version: 2.2
Severity: normal Keywords: import, importer, mt, movabletype, movable type, upload needs-patch
Cc:

Description (last modified by markjaquith) (diff)

The Movable Type importer requires you to upload a file via a browser-upload form. This is limited to 2Mb on many PHP installs. Many MT export files are larger than this (I have one that is more than 50Mb). It would be nice if there were also an option to upload a file with a pre-determined name (mt-export.txt) to /wp-content/ and have that be used. I think that's how it used to work.

Attachments

mt-import.001.diff Download (3.7 KB) - added by markjaquith 5 years ago.
First swing (trunk)

Change History

  • Keywords needs-patch added

+1.

  • Description modified (diff)

Somewhat similar issue for WordPress WXR importer where you have to increase post_max_size and upload_max_filesize to very large values for the single import operation.

First swing (trunk)

Okay, mt-import.001.diff is my first swing. It's pretty hacked together, but it seems to be working. If we're having this issue with other importers, we might consider making a standardized way of doing this so we can implement it in other importers.

  • Status changed from new to closed
  • Resolution set to fixed

(In [5531]) Allow MT Importer to use FTP-uploaded file (to get around php.ini-set file upload size limit). fixes #4284

I had applied this patch both locally and on wordpress.com and it worked great!

comment:7   matt5 years ago

Thanks for bringing this back, I really missed the feature that let you mod the file and not do an upload.

Note: See TracTickets for help on using tickets.