• Hello,

    My ISP only allows one (1) single concurrent FTP connection. This is causing problem with the upload of new plugins and updates from within WP.

    Is there a setting somewhere where I can tell the FTP component within WP to only use one (1) connection while uploading n new stuff?

    thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    WordPress does not use FTP internally. Well, it does sometimes if you’ve specifically configured it. Have you configured FTP in wp-config.php? If not, then WP is not using it.

    Thread Starter sirius48e

    (@sirius48e)

    thanks for your response

    I do not understand.
    if i say: update a plugin, then WP asks me for the FTP login details.
    I presume to ftp-upload the new files into the DIR.
    so, would therefore it not go through ftp ?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    If WP is asking for FTP, it means that your file system permissions and ownership are set to the FTP user for your hosting account, and are not writeable by the user under which PHP is running. That’s something you should address with your host. In that case, yes, WP is using FTP.

    Try adding define('FS_METHOD', 'direct'); to your wp-config.php file, above where it says “stop editing”.

    Thread Starter sirius48e

    (@sirius48e)

    Hi

    I tried that immediately. Alas to NO avail

    I get an error:
    Update failed: Could not create directory.

    And yes, I checked the permissions for the whole wp-content folder. It is set to 777

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    That’s wrong. it should be 755 or 775 for directories and 664 or 644 for files.

    Try contacting your host about the correct OWNERSHIP as well as permissions.

    Thread Starter sirius48e

    (@sirius48e)

    “That’s wrong. it should be 755 or 775 for directories and 664 or 644 for files.”

    I am aware of 777 being not ok. I just set it to that to give the outside process a chance.

    I am not sure how to formulate the question to the hosting company.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I’d ask “Why does my WordPress installation use FTP to update? I think it may be due to a permission or ownership issue. Can you check?”

    Thread Starter sirius48e

    (@sirius48e)

    many thank for your time and patience

    i will C&P this into an email.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘setting max connections FTP’ is closed to new replies.