title: Using Ruby and SCP/SSH, how to determine if a file exists before uploading a copy
body: <p>I'm uploading a file to a remote server using SCP, but what's the proper way of seeing if that file exists before doing so?</p>