<< Click to Display Table of Contents >> Navigation: SshNetSftp Class > SshNetSftp Methods > CompareFileSizes Method |
Summary
Compare remote and local file size to see if they match.
This is a nice way to verify that all bytes from a file were uplaoded or downloaded.
Note: This does not compare hashes or file contents. That might be a future enhancement perhaps.
Parameters
remotePath - Remote file path.
localPath - Local file path.
Returns
True=File sizes match, False=File sizes do not match or errors occurred