Support » Plugin: BackWPup - WordPress Backup Plugin » ftp_nb_fput(): Permission denied Error

  • Resolved emrevv

    (@emrevv)


    I have 2 separate backup jobs, a quick db backup and a full backup. Both jobs are set up to drop the files on an FTP server, hosted on a Windows machine. The db backup complete successfully without any issues. The full backup throws a “WARNING: ftp_nb_fput(): Permission denied” error and then reports that it cannot connect to the FTP server. The odd thing is that backup still makes it to the server. Windows zipped folder explorer throws an error when I attempt to open the backups, saying it is invalid, but I can get it to open with 7z. Although it appears to still be working as intended, the whole thing has me concerned, and I would like to resolve the errors if at all possible.
    here is the output of the job for reference:

    [INFO] BackWPup 3.6.0; A project of Inpsyde GmbH
    [INFO] WordPress 4.9.9 on <website-name>
    [INFO] Log Level: Normal 
    [INFO] BackWPup job: Weekly Full Backup
    [INFO] Logfile is: backwpup_log_57d054_2019-03-08_10-16-52.html
    [INFO] Backup file is: full_backup_2019-03-08_10-16-52_S5L5AVDY02.tar
    [08-Mar-2019 10:16:52] 1. Try to backup database …
    [08-Mar-2019 10:16:52] Connected to database wordpress on localhost
    [08-Mar-2019 10:16:52] Added database dump "wordpress.sql" with 5.91 MB to backup file list
    [08-Mar-2019 10:16:52] Database backup done!
    [08-Mar-2019 10:16:52] 1. Trying to make a list of folders to back up …
    [08-Mar-2019 10:16:52] Added "wp-config.php" to backup file list
    [08-Mar-2019 10:16:52] 856 folders to backup.
    [08-Mar-2019 10:16:52] 1. Trying to create a WordPress export to XML file …
    [08-Mar-2019 10:16:54] Check WP Export file …
    [08-Mar-2019 10:16:54] WP Export file is a valid WXR file.
    [08-Mar-2019 10:16:54] Added XML export "Site_Name.wordpress.2019-03-08.xml" with 3.44 MB to backup file list.
    [08-Mar-2019 10:16:54] 1. Trying to generate a file with installed plugin names …
    [08-Mar-2019 10:16:54] Added plugin list file "Site_Name.pluginlist.2019-03-08.txt" with 1.55 KB to backup file list.
    [08-Mar-2019 10:16:54] 1. Trying to generate a manifest file …
    [08-Mar-2019 10:16:54] Added manifest.json file with 4.60 KB to backup file list.
    [08-Mar-2019 10:16:54] 1. Trying to create backup archive …
    [08-Mar-2019 10:16:54] Compressing files as Tar. Please be patient, this may take a moment.
    [08-Mar-2019 10:19:46] Backup archive created.
    [08-Mar-2019 10:19:46] Archive size is 1.30 GB.
    [08-Mar-2019 10:19:46] 8657 Files with 1.29 GB in Archive.
    [08-Mar-2019 10:20:53] One backup file deleted
    [08-Mar-2019 10:20:53] 1. Try to send backup file to an FTP server …
    [08-Mar-2019 10:20:53] Connected to FTP server: <ftp-server-url>
    [08-Mar-2019 10:20:53] FTP client command: USER <username>
    [08-Mar-2019 10:20:53] FTP server response: User <username> logged in.
    [08-Mar-2019 10:20:53] FTP client command: SYST
    [08-Mar-2019 10:20:53] FTP server reply: UNIX
    [08-Mar-2019 10:20:53] FTP current folder is: /ftp-dir/
    [08-Mar-2019 10:20:53] FTP client command: PASV
    [08-Mar-2019 10:20:53] FTP server reply: Entering passive mode
    [08-Mar-2019 10:20:53] Starting upload to FTP  …
    [08-Mar-2019 10:24:24] Connected to FTP server: <ftp-server-url>
    [08-Mar-2019 10:24:24] FTP client command: USER <username>
    [08-Mar-2019 10:24:24] FTP server response: User <username> logged in.
    [08-Mar-2019 10:24:24] FTP client command: SYST
    [08-Mar-2019 10:24:24] FTP server reply: UNIX
    [08-Mar-2019 10:24:24] FTP client command: PASV
    [08-Mar-2019 10:24:24] FTP server reply: Entering passive mode
    [08-Mar-2019 10:24:24] Starting upload to FTP  …
    [08-Mar-2019 10:24:24] WARNING: ftp_nb_fput(): Permission denied
    [08-Mar-2019 10:24:24] ERROR: Cannot transfer backup to FTP server!
    [08-Mar-2019 10:24:24] 2. Try to send backup file to an FTP server …
    [08-Mar-2019 10:24:24] Connected to FTP server: <ftp-server-url>
    [08-Mar-2019 10:24:24] FTP client command: USER <username>
    [08-Mar-2019 10:24:24] FTP server response: User <username> logged in.
    [08-Mar-2019 10:24:24] FTP client command: SYST
    [08-Mar-2019 10:24:24] FTP server reply: UNIX
    [08-Mar-2019 10:24:24] FTP client command: PASV
    [08-Mar-2019 10:24:24] FTP server reply: Entering passive mode
    [08-Mar-2019 10:24:24] Starting upload to FTP  …
    [08-Mar-2019 10:24:24] WARNING: ftp_nb_fput(): Permission denied
    [08-Mar-2019 10:24:24] ERROR: Cannot transfer backup to FTP server!
    [08-Mar-2019 10:24:24] 3. Try to send backup file to an FTP server …
    [08-Mar-2019 10:24:24] Connected to FTP server: <ftp-server-url>
    [08-Mar-2019 10:24:24] FTP client command: USER <username>
    [08-Mar-2019 10:24:24] FTP server response: User <username> logged in.
    [08-Mar-2019 10:24:24] FTP client command: SYST
    [08-Mar-2019 10:24:24] FTP server reply: UNIX
    [08-Mar-2019 10:24:24] FTP client command: PASV
    [08-Mar-2019 10:24:24] FTP server reply: Entering passive mode
    [08-Mar-2019 10:24:24] Starting upload to FTP  …
    [08-Mar-2019 10:24:24] WARNING: ftp_nb_fput(): Permission denied
    [08-Mar-2019 10:24:24] ERROR: Cannot transfer backup to FTP server!
    [08-Mar-2019 10:24:24] ERROR: Step aborted: too many attempts!
    [08-Mar-2019 10:24:24] 1. Trying to check database …
    [08-Mar-2019 10:24:24] Database check done!
    [08-Mar-2019 10:24:24] One old log deleted
    [08-Mar-2019 10:24:24] ERROR: Job has ended with errors in 452 seconds. You must resolve the errors for correct execution.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support duongcuong96

    (@duongcuong96)

    Hi @emrevv
    [08-Mar-2019 10:24:24] WARNING: ftp_nb_fput(): Permission denied That warning was thrown by the FTP server :/
    So what FTP Server did you install on the Windows server?
    Thank you!

    Plugin Support duongcuong96

    (@duongcuong96)

    @emrevv

    since we haven’t heard back from you, I’m going to mark it as resolved.
    If you’re still having problems, feel free to let us know ;),

    Btw, If you find BackWPUp is useful for you, we would really appreciate if you leave a positive review and rating.
    This would encourage us to develop new free features and provide free support 😀
    https://wordpress.org/support/plugin/backwpup/reviews/

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.