KB Article #61686

How the Maximum number of retries or -rc_max transfer parameter works?

Problem

-- How the Maximum number of retries or -rc_max transfer parameter works?


Resolution

-- We can set the numeric value for Maximum number of retries [from GUI new transfer request] or -rc_max[from command line using peltrans]  transfer parameter.



-- This parameter is a parameter applying to the transfer and not to the physical connection[ which is defined in Remote site].

-- The retry parameter in the Remote Physical site applies to the physical connection attempts (before a transfer starts, meaning the actual exchange of file data) but if the physical connection establishes and we go into "transfer state", the -rc_max is applied, indicating, after an established connection, how many times the transfer is allowed to be.



-- The following example can help to understand how it works. e.g.
We use Gateway as FTP client and submit a transfer to FTP server by setting rc_max parameter to 1.



-- In case after establish the control session FTP server fails due to any reason [e.g. FTP server stopped or network failure or any other reason which reoccur continuously], When the FTP server available again and for the same transfer Gateway establishes the control session it start sending the file and if it again interrupts, next time it will cancel and did not try. It is because we set the rc_max parameter to 1.