Question:
I know there is way to check if a file exists via FTP (by using the ListPattern and NumFilesAndDirs) but I need a way to ensure the file exists on the server via SFTP. I didn't see anything comparable in the SFTP documentation unless I missed something.
Call OpenFile with "openExisting" as the createDisposition parameter.