user984621
user984621

Reputation: 48453

Rails Net::SFTP - is there a way to use an FTP connection (instead of sFTP)?

We have built a pretty complex plugin inside our system that's using the Net::SFTP gem to connect to a remote server. Everything works well.

One of our new customers, though, showed up and prepared for us a server where we can log in only with FTP, not sFTP.

Is there any workaround on how to use this gem to connect to the server using the FTP protocol? Our customer might look into adding access to sFTP. However, if this option would fall, we would need to manage it on our end.

Upvotes: 2

Views: 1264

Answers (1)

Martin Prikryl
Martin Prikryl

Reputation: 202272

SFTP and FTP are two completely different protocols.

Net::SFTP supports SFTP only.

Upvotes: 4

Related Questions