constantine-fry / rebekka

Rebekka - FTP/FTPS client in Swift.
BSD 2-Clause "Simplified" License
87 stars 56 forks source link

Can't Connect to FTP Server with SSL enabled #13

Open shorabhd opened 8 years ago

shorabhd commented 8 years ago

I am getting this error,

nil, error: Optional(Error Domain=kCFErrorDomainCFNetwork Code=200 "(null)" UserInfo={kCFFTPStatusCodeKey=534})

Can you please suggest on how to deal with this?

KiranPatelSpaceo commented 7 years ago

First configure your settings after than you have to create session

========= Confifure ============== var configuration = SessionConfiguration() configuration.host = FTPHostName configuration.username = FTPUserName configuration.password = FTPUserPass =========== Create session =============
self.session = Session(configuration: configuration)

========== list of all files ===========

session.list("/") { (resources, error) -> Void in print("List directory with result:\n(resources), error: (error)\n\n") }

It is working in Latest version of swift and xCode as well.

Thanks.

juanjoserodrigolazaro commented 7 years ago

i have the same problem, dont know why

hardiktatva commented 4 years ago

@juanjoserodrigolazaro @shorabhd did you find any solution, i have also same issue.