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.
asked Apr 25 '16 at 22:05
Call OpenFile with "openExisting" as the createDisposition parameter.
answered Apr 25 '16 at 22:46