On Sat, 16 Apr 2022 17:36:17 +0300, saurabh khandelwal wrote:
>    .... If we are transferring any big file using
>sftp and Network connection broken then how it's going to impact the file
>transfer or sender should again initiate file transfer.
>
sftp is largely a front-end to ssh.  You might try using ssh directly
in a script and getting status:
    ssh  host "set -x
        cd /tmp/Linux-4.19.0-20-amd64-paulgilm/RO &&
        pwd &&
        cat >\"$2\"
    " <"$1" ||
        echo Failure! >&2

-- 
gil

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

Reply via email to