On 4/16/22 8:36 AM, saurabh khandelwal wrote:
Hello Group,

Hi,

I think, sftp doesn't have any mechanism to find that file has been
transferred successfully or not.

In connect direct case we get return code on sender ...

sftp should give you a return code too.

... and receiver side which confirm if file transfer is perfectly sent to destination without any issue.

If you want belt and suspenders certainty, calculate a checksum on both sides and compare them.

Optionally, use something like rsync which has more options than sftp.



--
Grant. . . .
unix || die

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to