Should Sftp_Disconenct always be called? (General questions)
Should Sftp_Disconnect be called before Sftp_Destroy or would it be redundant?
I don't see anything in the doc about this - let me know if I missed something.
Thanks,
Mike
Re: Should Sftp_Disconenct always be called?
Hi Mike,
The Destroy will destroy the instance of the component, and free the memory it took. It should also disconnect the socket automatically.
Disconnect on the other hand will just close the socket connection, allowing you to re-use the same instance again.
Hope this helps.
Regards,
Damba
Re: Should Sftp_Disconenct always be called?
Thanks Damba