Tip

Setting FTP time-outs

We know about the inactivity time-out on the FTP server. But there are three other time-outs that can be set, one for the iSeries FTP server, and two for the iSeries FTP client.

The TIME server subcommand can specify one or two time-outs. The first (required) is the inactivity time-out and is the same as the time-out set with the INACTTIMO parameter of the CHGFTPA command. The second is called the transfer time-out. This is how long the server waits on the client on the data connection. Defaults are 300 for the inactivity time-out -- 420 for the transfer time-out.

It is also possible to change client time-outs, using the debug subcommand. As with the server, there are two time-outs. The first is for the control connection. It sets how long the client waits for server replies. The second is for the data connection. This one sets how long the client waits for a response on the data connection. Defaults are 600 and 420 seconds, respectively.


To set the inactivity time-out of an iSeries FTP server to 15 minutes:

QUOTE TIME 900

To set both the inactivity and transfer time-outs of an iSeries FTP server to 15 minutes:

QUOTE TIME 900 900

To set the inactivity time-out of an iSeries FTP client to 15 minutes:

DEBUG T1 900

To set the transfer time-out of an iSeries FTP client to 15 minutes:

DEBUG T2 900

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Visit the ITKnowledge Exchange and get answers to your developing questions fast.

Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.

This was first published in November 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.