Confirming file size after SFTP PutStream
Hello!
This may seem a bit strange, but I'd like to make a business operation which would put a file via SFTP and then confirm that the filesize on the remote server is consistent with expectations. I am thinking either of a custom copy or extension of the adapter (right now it is using EnsLib.FTP.OutboundAdapter) that overwrites method PutStream, or a version of the FTP.PassThroughOperation with a customized method OnMessage that does the check after the PutStream completes OK-- but I am uncertain of how exactly to modify either method to make the check. What functions could I even call to check the remote filesize agaisnt the size of the file that was just put to the stream? Even a pointer to the appropriate part of the documentation would be helpful. Right now I'm just floundering about in the entries for FileListFetch, etc.
Thanks!
Michael