Update scp/ftp logic.
Update the comments.