FTP Connection may be closed by the FTP Server.

FTP Connection may be closed by the FTP Server.

book

Article ID: KB0087929

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
FTP Connection may be closed by the FTP Server

Environment:
===========

   o For all BW versions
   o For all OS versions

Resolution:
===========

In FTP activity if 'Quit(post-command)' option is blank, BW will keep the FTP Connection opened. In this case, the following ftp activity will reuse the same connection.

For example, use one FTP Get to retereive the file from the FTP server first, and then use another FTP PUT activity to put the file on the same FTP server. BW will reuse the same connection.

But if there is a long running job, such as 900 seconds, between two FTP activities, the connection may be closed by the FTP server side. One may get some exception, such as 'Socket Peer Error', 'FTP Code 421, connection timeout', 'NullPointerExceptoin'

workaround:
===========

Enable QUIT in FTP activty so that BW will send QUIT command at the end of process to close the connection.

Issue/Introduction

FTP Connection may be closed by the FTP Server.