Timeout on FTP_List
Posted: Mon Nov 15, 2021 3:54 pm
Hi,
We are using the FTPAPI as part of never-ending pgm to send/receive files from a client's server. We have been having intermittent problems with the FTP job getting hung in TIMW status. In reviewing our program, we are using the port and timeout options on the connection portion of the job, but I don't see that the FTP_List has an option for a timeout. I downloaded the latest version, hoping that it would have the Timeout option added to FTP_List, but no timeout option found.
Is there a way that I could add a Timeout option on the FTP_List procedure? Any suggestions would be greatly appreciated.
Max Blacknik
We are using the FTPAPI as part of never-ending pgm to send/receive files from a client's server. We have been having intermittent problems with the FTP job getting hung in TIMW status. In reviewing our program, we are using the port and timeout options on the connection portion of the job, but I don't see that the FTP_List has an option for a timeout. I downloaded the latest version, hoping that it would have the Timeout option added to FTP_List, but no timeout option found.
Is there a way that I could add a Timeout option on the FTP_List procedure? Any suggestions would be greatly appreciated.
Max Blacknik