Backup to FTP doesn't remove old backups

We have 2 jobs on a single server. 1 job works as expected, but the other job doesn’t delete old backups.
It gives the error:
"14/01/2022 6:26:31 [Error] Failed to clean up backups of “Adsolut to NAS " job: ${https://sqlbackupandftp.com/kb?id=DST-2%3A1001%231|#[DST-2:1001#1]} Failed to open “ftp://xx.xx.xx.xx” destination connection. > Already connected to the server.”

Both backup jobs use the same ftp user, and don’t run on the same time.
When we login via an ftp client, we can delete files without problems.

backup job settings:

Hi Helpdesk_C2Y,

To resolve the issue, please try to disable “Keep alive” option.

Thank you and sorry for the inconvenience.

This did not make a difference,still getting the same error

Hi Helpdesk_C2Y,

For further investigation, we need more details.

Could you please provide us with the Advanced Log https://sqlbackupandftp.com/blog/how-to-send-log-to-developers?

Please let us know when the log will be sent and let us know your Application ID (“Help” > About").

If you have any other questions, please let us know.

Thank you and sorry for the inconvenience.

Hello,

There was a database in the backup job that failed to backup properly.
We have excluded it from the backup job, and created a separate job for it.
Now it seems to work correctly.

Hi Helpdesk_C2Y,

Good news! Thank you for your reply.

Please feel free to contact us on any issues or concerns.

I have the same issue as Helpdesk_C2Y.
All my databases are backup properly but I got the same error.

My FTP server is running normally. User used for ftp access has every permission, I can delete o create any file in that FTP location, on that FTP server.
I am using QNAP NAS as FTP server. Never had any issues. Until now.

Part of the log:

  • 3:27:57 PM : ERROR: Failed to clean up backups of "Adriale DB 13h " job: [#[ DST-2:1001#1]](https://sqlbackupandftp .com/kb?id=DST-2%3A1001%231) Failed to open “ftp:// 10.0.0.233/” destination connection. > Already connected to the server.
  • 3:27:57 PM : Deleting temporary files.
  • 3:27:57 PM : ERROR: Job "Adriale DB 13h " finished with “1” errors.

I have tried with Keep Alive option, but it doesn’t help.

Here is developer log:
https://drive.google.com/file/d/1_KHJ4tKccS8iwPStSnvMkofcZBzCkS8K/view?usp=sharing

Hello Borvel_d.o.o_Kresevo,

Thank you for the details.

To resolve the issue please go to the advanced FTP destination settings and enable the “Pause Before Upload Close” option.

Also, we recommend checking the other settings, perhaps some of them should be disabled/enabled.

If you have any other questions, please let us know.

Thank you and sorry for the inconvenience.