• Hello all!

    I upgraded to High Sierra on Mac. But there is no ftp server any more. I fired this server up with

    sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist

    in my shell to update my local WordPress. I entered my user name and localhost and my password. Now I installed with homebrew an alternative ftp server: pure-ftpd I am starting this ftp server with or without sudo

    pure-ftpd &

    But the ftp server is not running ???

    Any help – it is not really WordPress specific, more MacOS, but I don’t know, where else I could ask for help.

    Thank you in advance

    marek

Viewing 6 replies - 1 through 6 (of 6 total)
  • Rather than using FTP suggest that you use your local file manager to copy the files.

    Thread Starter marek_step

    (@marek_step)

    Thank you RossMitchell fpr your suggestion. Yes I am updating my local WP with a download of the actual WP Version and then I run rsync in my shell, something like this:

    rsync -av WP_actual_version/ /path/to/local/WP_folder/

    But my themes and plugins are still to update …

    Any help for a ftp-server on High-Sierra? Or an other method to update all in WP?

    Thx again

    marek

    For updating themes and plugins the procedure is to download the .zip archive, then either extracting it inplace at the final location OR extracting it somewhere then copying the files. Not quite the hands off automation that well setup website hosting can provide, but not that difficult nor too many steps either.

    I am a MAC pro and WP developer, why are you using an FTP server for local development? I don’t get it. Just use the Finder to manage files. And update files from the admin in WordPress

    Thread Starter marek_step

    (@marek_step)

    Hi HudsonValleyWebDesign

    That’s good to know, that here are professional WebDisigners out there. I am developing my pages locally and I am updating Themes Plugins and WP itself locally over a local ftp-server. I am not a professional as you are, but for all others out there, which are regretting the missing ftp-server on the High-Sierra MacOS (10.13) here to set up a local ftp-server and update your local WordPress install:

    Easiest is to install it with homebrew:

    (To install home-brew refer to: https://brew.sh) – in your shell you issue following commands:

    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

    To maintain your brew install issue regularly in your shell:

    brew upgrade 
    brew cleanup

    Now to install the local ftp-server:

    brew install pure-ftpd --with-everything

    The switch --with-everything is probably superfluous and probably the default.

    Now you have create a file /etc/pam.d/pure-ftpdwith following content:

    # pure-ftpd: auth account password session
    auth       required       pam_opendirectory.so
    account    required       pam_permit.so
    password   required       pam_deny.so
    session    required       pam_permit.so

    NO FORMATTED TEXT. Use your favourite Text-Editor (In Terminal vim, emacs, or pico). Or BBEdit. You have to be root to create this file.

    Now you fire up the local ftp-server:

    sudo /usr/local/sbin/pure-ftpd -lpam -B

    Now you can update all WordPress Sites locally:

    You only have to enter your password …

    “/Users/mstep/Desktop/Screen Shot 2018-07-07 at 10.17.09.png”

    Thread Starter marek_step

    (@marek_step)

    Sorry! I cannot insert images to illustrate my reply. Don’t forget to kill the ftp-server after the update; the more servers you have running locally, the more you are vulnerable (MySQL, apachectl and ftp-server).

    sudo pkill -x pure-ftpd

    Hope this helps some people out there …

    marek

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Mac High Sierra – local ftp server – how to update WP’ is closed to new replies.