Forums

How can I make .tar.gz files available for download on my blog? (5 posts)

  1. viciouslime
    Member
    Posted 1 year ago #

    When you upload a .tar.gz file it gets renamed such that "example.tar.gz" becomes "exampletar.gz". Is there a fix for this, or a better way to manage downloads on my blog?

  2. MichaelH
    Moderator
    Posted 1 year ago #

    Upload it via FTP and provide your users a link to that file name.

    See:
    Uploading_WordPress_to_a_remote_host

  3. viciouslime
    Member
    Posted 1 year ago #

    Ok, thanks, that's what I was going to do, but I thought there might be a more integrated method.

  4. copperblade
    Member
    Posted 9 months ago #

    I'd like to figure this out too. I'm not going to give my friends all FTP access and require them to understand how to use it just so they can upload files...

    I was willing to go the .tgz route instead, but it seems even if I add .tgz as an allowed filetype, it is blocked.

  5. yvess
    Member
    Posted 6 months ago #

    I added
    'tgz' => 'application/x-compressed-tar',

    to wp-includes/functions.php, function wp_check_filetype()

    then I could at least upload tgz files

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags