-1
1
I have to convert FTP code to SFTP in vb6. I am really new to it so have little idea. So to get started I have few questions:
Are FTP and SFTP servers different. I have a host name for eg. example.com, currently when we do FTP, URL is formed as ftp://example.com. So is this example.com, a FTP server or can we use it for SFTP also?
If it's an FTP as well as SFTP server that's fine. But if not then will we require a new server or this FTP server can be converted to SFTP server?
What's your on topic question exactly? You can't use code meant for an unencrypted connection for a encrypted connection. You have to handle the encryption and the code your using doesn't handle it currently – Ramhound – 2016-12-29T14:33:21.407
ftp
andsftp
are completely unrelated protocols.sftp
access is most frequently provided by installing and configuring OpenSSH. – user4556274 – 2016-12-29T14:36:40.120Issues specific to programming and software development are off topic, see On-Topic. Try [SO] but please first read How do I ask a good question?. As it stands your question would also be closed on [SO].
– DavidPostill – 2016-12-29T15:53:24.667I got it from the answer of dsolimano. I just wanted to know that can FTP and SFTP be on the same server. – Suman George – 2016-12-29T16:39:24.743
Of course you can they are unrelated to one another – Ramhound – 2016-12-29T18:45:58.720