Our script reads the publishing output content with FTP commands and copies them to an internal server. However since a couple of weeks it is no longer working. Is there any change at FTP? Have any changes been made to the server configurations or user profile that could limit the ftp LIST command? See screenshot attached for the logs related to the script error.
The output folder had not been cleaned of old files for a long time, and the cleanup script was timing out.
Folder, \Data\ExportService\Data\DataExports, had built up too many files to be gathered by the script before it timed-out.
Test the solution my manually move old files to another folder to test the solution, leaving just a few hundred.
Once the solution is confirmed, then fix the cleanup script
Example FTP commands
227 Entering Passive Mode (198,107,132,38,166,222).
/Data/Logs$ LIST *.log
150 Opening BINARY mode data connection.
550 Data channel timed out.