× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 22-Feb-2017 14:22 -0700, Rich Loeber wrote:
I have a large file (7GB) that I'm trying to retrieve from my
IBM i server using FTP from a PC client. I start the process and it
runs for a while. It stops and reports the number of characters
transferred but when I look on the PC, there's no file there. When I
repeat this process on a smaller file (4MB), it works just fine.

NecroPosting in reply to thread: (https://archive.midrange.com/midrange-l/201702/threads.html#01041)


Is this a timeout issue?

Very likely; a default timeout, for how long a file transfer is allowed to remain active before the connection is dropped, despite data/messages may be actively exchanging -- thus *not* a timeout due to inactivity.


How can I start the FTP process and tell it to not time out?

I'm using the command FTP window on the PC.


The IBM i FTP server accepts a STAT FTP subcommand, from which FTP 211 feedback messages will reveal what setting in seconds is the "File transfer time-out value". For example, in the client session, issue the QUOTE subcommand to pass the STAT subcommand to the server; a likeness of the resulting messages from the server appear below the request for the server to describe the "status of FTP session":

quote stat
211-FTP Server connected to remote address host ...
211-NAMEFMT set to ...
...
211-File transfer time-out value set to 420 seconds.
211 Current inactivity time-out value set to 300 seconds.


The IBM i FTP server also accepts a TIMEOUT FTP subcommand, for which a setting in seconds can be established for both the "inactivity time-out value" [an override to the INACTTIMO setting mentioned by Rob, as available from the Change FTP Attributes (CHGFTPA) command] and a "File transfer time-out value". For example, in the client session, issue the QUOTE subcommand to pass the TIMEOUT subcommand to the server; a likeness of the resulting FTP 250 messages as feedback from the server appear below an example request that might be made:

quote timeout 600 20000
250-File transfer time-out value set to 20000 seconds.
250 Inactivity time-out set to 600 seconds.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.