• Resolved petegost

    (@petegost)


    I am trying to upload a pdf file to my site, but the following message comes up. Have tried uploading it both with browser and flash options as suggested. Is there anything I can change regards the ‘parent directory’ to make it writable?

    Unable to create directory /usr/local/psa/home/vhosts/petergostelow.com/httpdocs/usr/local/psa/home/vhosts/petergostelow.com/httpdocs/wp-content/uploads. Is its parent directory writable by the server?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Try changing permissions on wp-content to 777.

    See Changing File Permissions

    Thread Starter petegost

    (@petegost)

    Have done that and still doesn’t work.

    Can you create the wp-content/uploads folder via your control panel or FTP?

    Thread Starter petegost

    (@petegost)

    Getting a little out of my depth here. In my FTP I go to wp-content and change file attributes to 777 – this command seems ok
    If I go through to wp-content/uploads, which is a sub-directory is it not, and try to update the file attribute to 777, I get this message

    Command: SITE CHMOD 777 uploads
    Response: 550 CHMOD 777 uploads: Operation not permitted

    What do you mean by creating the wp-content/uploads via my control panel?

    If you use something like FileZilla for FTP you can create new directories (e.g. the uploads folder under wp-content).

    The uploads folder would be 777 permissions as well.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Command: SITE CHMOD 777 uploads
    Response: 550 CHMOD 777 uploads: Operation not permitted

    Ask your host why you are not the owner of those files. They have it setup so that you don’t have permissions on files in your own directory, because they were created by the webserver. This fairly sucks, and they need to fix it on some sort of permanent level, because every file you upload you will be unable to alter due to this.

    Thread Starter petegost

    (@petegost)

    I have been trying all evening to upload this pdf file to my website using WordPress (version 2.5).

    The steps I have taken are as follows.

    1) In FTP filezilla I locate and then upload the pdf file to wp-content/uploads/pdf (and ensure that file permission is saved at 777).

    2) Go to upload page in wordpress and locate the pdf file from the hard-drive. The file starts uploading and then this message comes up

    Unable to create directory /usr/local/psa/home/vhosts/petergostelow.com/httpdocs/usr/local/psa/home/vhosts/petergostelow.com/httpdocs/wp-content/uploads. Is its parent directory writable by the server?

    I still can’t understand why the pdf file won’t upload to my web-page.

    Is there any other way I can go about it? Surely this should be a simple task?

    Thread Starter petegost

    (@petegost)

    Have finally done it! Went to admin, Mis, and changed the upload details to those that match that in FTP file
    wp-content/uploads

    Sure this might have been obvious to many.

    I was wondering how a pdf file can be attached to my self hosted wordpress blog. Couldn’t find the solution. PDF Upload goes half way and then returns IO Error.

    Browsed through lots of forums and found an alternative, not the exact solution. The easiest way is to embed a pdf, here is how:

    Upload your pdf to ftp say /blog/wp-content/uploads/2009/01 folder. Say your pdf file name is yourpdf.pdf

    The complete path would thus look like: /blog/wp-content/uploads/2009/01/yourpdf.pdf

    Now, go to the post where you want to embed the pdf object. In the same post swich your view to HTML and paste the following code:

    <embed src=”https://www.yoursite.com/blog//wp-content/uploads/2009/01/yourpdf.pdf&#8221; width=”400″ height=”300″> </embed>

    You can change the height and width to suit to your interface requirements.

    If anyone has come across a solution to attach a pdf, pl. let me know.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Uploading PDF file problem’ is closed to new replies.