About FTP Error

Hello Everyone:

When I Rename the FTPfile,I recevied the error “421 Timeout (120 seconds): closing control connection”

Before Rename the file , I pass the file to TN.It will need some time.

I find some documents that say Ftp attribute timeout the default value is wait for ever.

I don’t know how to resolve it.Somebody help me.Thanks a lot.

Best regards

Ignore my response post!

“Before Rename the file , I pass the file to TN.It will need some time.”

This is common in processes that can take a bit of time. The key is to not keep the FTP connection open while TN/IS is doing its work. The easiest way to do this is to configure the processing rule to be async. Here are the high-level steps:

  1. Your service wakes up and retrieves the document via FTP.
  2. Submits the document to TN.
  3. TN persists the document to the DB and then evaluates which processing rule to use.
  4. If the rule is async, it will create a thread and invoke your IS service in that thread.
  5. Control returns to your service with TN status.
  6. You can rename the file.

The key is in having TN return control to your service as soon as the document/file has been persisted. Then you know you have safely pulled and stored the document and can tell the FTP server ‘got it’.


Thanks Rob,i understood the original query differently.anyways valuable info.


Thanks a lot.
I will try it.