2

I am trying to use Apple's code from their SimpleFTPSample project to upload/list directory in my app. I am able to get it working on a server using just FTP, but I need it to now work on a server that requires SFTP logins. Is there a way to set the NSStream to use 'SFTP' when connecting?

Here is Apple's project example: https://developer.apple.com/library/ios/samplecode/simpleftpsample/introduction/intro.html

JimmyJammed
  • 9,598
  • 19
  • 79
  • 146

1 Answers1

1

FTP and SFTP are very different protocols. Have a look at https://github.com/karelia/ConnectionKit - this is a library that supports ftp, sftp and webdav transfers

Ooops! I missed where the iOS bit wasn't ready yet! Perhaps the libraries in this answer will help

Community
  • 1
  • 1
Paulw11
  • 108,386
  • 14
  • 159
  • 186