Need help for SFTP

Hi All,

I am using sftp to send a file.I want to know is there any way to check that the file has been sent to destination.Like in ftp we can spool the log and check "226 Transfer complete" accordingly we can decide the script return success.Please let me know if we can do something to get confirmation for the success.

Thanks,
Ravi

sftp has a log file that you should be able to look at just like the ftp log file. Off the top of my head, I can't think where it is.