PDA

View Full Version : help with SSH or SFTP in cocoa app




italiano40
Jul 22, 2008, 12:19 AM
ok in my app i would like to access a SFTP address in my program what would be the easy way to do this, i looked at Curl for Cocoa but it doesn't have SFTP or SSH support what should i do?



yeroen
Jul 22, 2008, 07:19 AM
Curl for Cocoa...Are you talking about CURLHandle?

There's always the straight C libcurl which you can use just as easily and which does have sftp support. If you really wanted, you could easily wrap some of the C functions in your own Obj-C class wrappers, but you don't need to.

italiano40
Jul 22, 2008, 09:53 AM
Curl for Cocoa...Are you talking about CURLHandle?

There's always the straight C libcurl which you can use just as easily and which does have sftp support. If you really wanted, you could easily wrap some of the C functions in your own Obj-C class wrappers, but you don't need to.

Yes i use Curl Handle for cocoa and that didn't support SFTP
i want an easy way to connect to a SFTP, is their a way to use command for a command line in my cocoa app