Download wordpress media files

Hi! Does anyone know how I can download wordpress media files? either via a plugin and /or via a cpanel? Thank you!

  • Patrick

    Hi there @Pippa

    I hope you're well today!

    Indeed, you can easily download individual files or an entire archive of the library in zipped format from the File Manager utility in your cPanel.

    Or you can download individual files, or entire folders, via FTP (FTP can't zip stuff though).

    Or try this little plugin (don't know if it has any limits though, but worth a try):
    https://wordpress.org/plugins/downml/

    So, several ways to download the stuff. The only real issue is if you are downloading from a single site or a multisite install.

    If it's a single site, you'll find all your media items neatly stored in folders in wp-content/uploads Same place for the main site in a multisite install.

    But if you want to get the media from a subsite in a multisite, you'll go to wp-content/uploads/sites/ID (where ID is the numerical ID of the site you want).

    I hope this helps! And thanks for being a member :slight_smile:

  • Sajid

    Hi @Pippa

    Hope you are doing good today :slight_smile:

    Go to Network > Sites click on site "Edit" link and you will see the ID in the URL of edit link (see screenshot).

    Here is also a quick plugin to display site ID in Network > Sites. Make a file called show-site-ids.php (or name it whatever you want), put this code in it, and upload to your mu-plugins folder (simple create mu-plugins folder if it does not exists in wp-content folder).

    <?php
    /*
    Plugin Name: Show Site ID
    Plugin URI: http://halfelf.org/hacks/site-id-columns-multisite/
    Description: Show Site ID in Sites Column for Multisite
    Version: 1.0
    Author: Mika 'Ipstenu' Epstein
    Author URI: http://www.ipstenu.org/
    
            This plugin is free software; you can redistribute it and/or modify
            it under the terms of the GNU General Public License as published by
            the Free Software Foundation; either version 2 of the License, or
            (at your option) any later version.
    
            This plugin is distributed in the hope that it will be useful,
            but WITHOUT ANY WARRANTY; without even the implied warranty of
            MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
            GNU General Public License for more details.
    
    */
    
    function siteid_columns($column, $blog_id) {
            global $wpdb;
            if ( $column == 'site_id' ) {
                    echo $blog_id;
            }
            return $value;
    }
    
    // Add in a column header
    function site_id($columns) {
        $columns['site_id'] = __('ID', 'site_id');
        return $columns;
    }
    
            add_filter( 'wpmu_blogs_columns', 'site_id' );
            add_action('manage_sites_custom_column',  'siteid_columns', 10, 3);
            add_action('manage_blogs_custom_column',  'siteid_columns', 10, 3);
    ?>

    Thanks to the great Ipstenu :slight_smile:
    http://halfelf.org/2011/site-id-columns-multisite/

    Cheers, Sajid

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.