WordPress.org

Forums

File attachement (9 posts)

  1. norasco
    Member
    Posted 9 years ago #

    Is there anyway to attach a PDF file to a posting for download? Where will be stored?

  2. moshu
    Member
    Posted 9 years ago #

    Just go into your admin panel Options > Miscellaneous and allow the file uploads. You can specify there the exact directory where the files should go.
    Furthermore in the field "Allowed file extensions:" - add .pdf.
    Then after uploading take the code WP is giving to you and put it in your post.

  3. MissJibba
    Member
    Posted 9 years ago #

    Wow, I just registered to ask this question, and I see it's been answered and it's doable.

    Keep up the good work, this looks like a really sweet program. :-)

  4. Orin
    Member
    Posted 9 years ago #

    Oh, it's an awesome program... trust me.

  5. MissJibba
    Member
    Posted 9 years ago #

    Ah, sorry to bug you. I successfully intalled WordPress on my server, but I'm not getting that option.

    The only options listed for me are:
    Track Links’ Update Times
    Use legacy my-hacks.php file support

    Is there something else that I need to install first?

  6. hbalagh
    Member
    Posted 9 years ago #

    MissJabba what he was referring to is in the old version of wp. Wp 2.0 now has the file uploading where you writing your post :)

  7. MissJibba
    Member
    Posted 9 years ago #

    Ah ha! That's excellent, then. I actually spotted that function, but as luck would have it, my host Bravenet seems to be down at the moment so I can't test it yet.

    But thank you. :-)

  8. hayfordoleary
    Member
    Posted 9 years ago #

    You can customize your upload directory, if you like by adding the following to your wp-config.php file:
    define('UPLOADS', 'files/blog');

    It's relative, so if you're WordPress install is in http://yoursite.org/blogo, the files will be uploaded to http://yoursite.org/blogo/files/blog/(year)/(month).

    Keep your eyes peeled for the next update for the next update of WP 2.0, the option is slated to return to its rightful place in the admin panel.

  9. MissJibba
    Member
    Posted 9 years ago #

    Ah, that's something interesting.

    I hate asking all these really obvious questions, but when I attempted to upload a pdf, I get this message about server permissions.

    Unable to create directory /usr/local/apache2/misc/14/165/274/296/4/user/web/whateveryamericanshouldknow.com/wp-content/uploads. Is its parent directory writable by the server?

    Hmmmmm, obviously I am leaving something out.

Topic Closed

This topic has been closed to new replies.

About this Topic