I'm using urllib
to make a request to a server.
When the URL has the format ftp://ftp.piplatam.com//...
, it runs OK.
When the URL has the format ftp://sftp.piplatam.com//...
, it runs OK.
When the URL has the format sftp://sftp.piplatam.com//...
, it fails. Error: '<class urllib2.URLError>' and message '<urlopen error unknown url type: sftp>'
Why does this happen? Also, if I run the request the second way, am I using FTP or SFTP?