Forums

[resolved] Uploading arbitrary file types (7 posts)

  1. homer5439
    Member
    Posted 2 years ago #

    Is there a generic way of uploading arbitrary file types, like .doc, .tar.gz, .chm, .pl or whatever one wants, without having to copy them manually into wp-content/uploads (which, btw, I'm not even sure is the right way of doing that)?

    Especially in some technical blogs, it may be that 90% or more of what one wants to upload are non-media files.

    Thank you.

  2. ClaytonJames
    Member
    Posted 2 years ago #

    You may want to consider creating a separate directory just for those documents and then simply upload them using your file manager or ftp client.

  3. dswordpress
    Member
    Posted 2 years ago #

    Have you tried a plugin? Other than that, I would think you do need to use the ftp, but if you keep that open on your desktop, it is usually faster than using the media uploader anyway.

    Cathy

  4. homer5439
    Member
    Posted 2 years ago #

    @ClaytonJames: ok thanks, Any suggestion on where to create that directory, eg still under wp-content or elsewhere? Will that survive WP upgrades?

    @dswordpress: any plugin you recommend that can do that?

    Thank you!

  5. MichaelH
    Volunteer
    Posted 2 years ago #

    wp-content/uploads is not a bad folder to put uploads and shouldn't be disturbed by future WordPress updates.

    http://wordpress.org/extend/plugins/wp-downloadmanager/
    http://wordpress.org/extend/plugins/wp-filebase/

    and just in case you want to get your manual uploads into the Media Library
    http://wordpress.org/extend/plugins/add-from-server/

  6. homer5439
    Member
    Posted 2 years ago #

    @MichaelH: thanks! I'm trying wp-filebase, and I consider this solved.

    However, just out of curiosity, do you know why WP doesn't have a built-in generic mechanism to upload arbitrary files, and only manages "media-like" files by default?

    Thanks.

  7. MichaelH
    Volunteer
    Posted 2 years ago #

    Probably considered plugin material.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags