Net-SFTP - No command to close the sftp connection

Posted on Thu Feb 10 11:43:16 2005 by annabond
No command to close the sftp connection
I am moving my code from "ftp" to "sftp".. I have faced umpteen number of problems because of that. The biggest problem is to find a sftp command for the ftp cmds in my code. Using the ftp module i can call the "quit" command (from the script) to close the connection. I dont seem to find the similar cmd in the sftp module for closing the connection. It would be great if someone could point out how to close the sftp connection.
Direct Responses: 98 | Write a response