Hi Rick,
I've just been tasked with doing an SFTP implementation on a project that was previously using vanilla FTP. In the process of reviewing the wwSFTP class, I'm noting several properties that are in wwFTP.prg but not wwSFTP.prg. In particular, the properties for passive mode, binary file type and buffer size do not appear to be part of the wwSFTP class and I've been setting those in my current implmentation. Is there some not so obvious to me inheritance going on here or will this blow up if I try to refer to those props when referencing an object derived from the SFTP class.
Thanks.
The wwsftp
class inherits from wwftp
so those properties are there - they just don't do anything.
All SFTP transfers are binary and because it's over a secure SSL channel the connections are always active. If you set those properties, they are simply ignored for the SFTP code.
+++ Rick ---
Thanks, Rick. If the properties are in the object then I don't have to worry about defensive coding to avoid setting something that doesn't exist. I also realize I should have posted this in the Client Tools forum and will follow up there with any questions.