Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

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

Open
shorabhd opened this issue Aug 15, 2016 · 3 comments
Open

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

shorabhd opened this issue Aug 15, 2016 · 3 comments

Comments

@shorabhd
Copy link

shorabhd commented Aug 15, 2016

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
Copy link

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
Copy link

i have the same problem, dont know why

@hardiktatva
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants