[Cyberduck-trac] [Cyberduck] #5669: third-part addInternetKeyChain for cyberduck

Cyberduck trac at trac.cyberduck.ch
Fri Jan 28 13:54:09 CET 2011


#5669: third-part addInternetKeyChain for cyberduck
-----------------------+-------------------------
    Reporter:  likun   |       Owner:  dkocher
        Type:  defect  |      Status:  closed
    Priority:  normal  |   Milestone:
   Component:  ftp     |     Version:  3.8.1
    Severity:  normal  |  Resolution:  thirdparty
    Keywords:          |    Platform:
Architecture:          |
-----------------------+-------------------------

Comment (by dkocher):

 Replying to [comment:5 likun]:
 > Replying to [comment:4 dkocher]:
 > > Use the hostname instead of the IP address for the service name.
 >
 > Using ip for server name is ok, That is not the point, I changed this
 line like this:
 >
 >
 > {{{
 > addInternetPassword(@"myftp", @"username", @"password",
 kSecProtocolTypeFTP, @"ftp.servername.com", 21, @"");
 >
 > }}}
 >
 > It still can't work.
 >
 > And I hope that you get a ftp server and test the code above.
 >

 Refer to the
 [http://developer.apple.com/library/mac/documentation/Security/Reference/keychainservices/Reference/reference.html#//apple_ref/c/func/SecKeychainAddInternetPassword
 API]. Make sure the `serverName` parameter equals the hostname.

-- 
Ticket URL: <http://trac.cyberduck.ch/ticket/5669#comment:6>
Cyberduck <http://cyberduck.ch>
Open source FTP, SFTP, WebDAV, Cloud Files, Google Docs & Amazon S3 Browser for Mac & Windows.


More information about the Cyberduck-trac mailing list