@IT 24-7 as we have seen and discussed in the ticket the issue does not come from the PBX side.
The PBX after it has connected to the FTP it sends " PASV " packet in order the FTP to enter in Passive mode.
An answer never comes back to the PBX for this packet.
So the packet is lost between the IIS server and the PBX.
Nevertheless the PBX still tries the connection and tries to Write to the FTP and sends a STOR command to the FTP in order to keep the efforts on this.
The responses that come back are with error code 550 and the connection is reset.
On your provided logs from the FTP it is mentioned that PASV port is 50011 but we can not see this on our side as the response never arrives to the PBX.
Also you do not see the STOR packet as you mentioned on the FTP logs.
Based on this I would recommend checking this further on the network level.
| Info| [FluentFTP.FtpClient] > OpenWrite("/ftpverstraete/3CXScheduledBackup.zip.tmp", Binary, 0, True)
| Info| [FluentFTP.FtpClient] > GetFileSize("/ftpverstraete/3CXScheduledBackup.zip.tmp")
| Info| [FluentFTP.FtpClient] Command: SIZE /ftpverstraete/3CXScheduledBackup.zip.tmp
|Debug| [FluentFTP.FtpClient] Waiting for response to: SIZE /ftpverstraete/3CXScheduledBackup.zip.tmp
| Info| [FluentFTP.FtpClient] Response: 550 The system cannot find the file specified. [27ms]
| Info| [FluentFTP.FtpClient] > OpenDataStream("STOR /ftpverstraete/3CXScheduledBackup.zip.tmp", 0)
| Info| [FluentFTP.FtpClient] > OpenPassiveDataStream(AutoPassive, "STOR /ftpverstraete/3CXScheduledBackup.zip.tmp", 0)
|Debug| [FluentFTP.FtpClient] Disposing(sync) FtpClient.FtpSocketStream(control)
|Debug| [FluentFTP.FtpClient] GetReply(...) failure: Unable to read data from the transport connection: Connection reset by peer.
| Info| [FluentFTP.AsyncFtpClient] Response: 257 "/ftpverstraete" is current directory. [21ms]
| Info| [FluentFTP.AsyncFtpClient] > DeleteFile("/ftpverstraete/3CXScheduledBackup.zip.tmp")
| Info| [FluentFTP.AsyncFtpClient] Command: DELE /ftpverstraete/3CXScheduledBackup.zip.tmp
|Debug| [FluentFTP.AsyncFtpClient] Waiting for response to: DELE /ftpverstraete/3CXScheduledBackup.zip.tmp
| Info| [FluentFTP.AsyncFtpClient] Response: 550 The system cannot find the file specified. [23ms]