How do I know if my script is using ftp or sftp?
My server supports both sftp and ftp, but the url for both is ftp.example.com. I'm trying to write a script, and it's unclear to me how to force the "open" command to use the sftp protocol. I've done a bunch of searching, and I can't find the answer. Thanks in advance for your help!