konradowy
konradowy

Reputation: 1570

NSPOSIXErrorDomain Code=61 "The operation couldn’t be completed. Connection refused"

I have a strange problem sending more than one file on FTP server via WiFi network in a specific environment. I use my own, self-made ftp client (made on sockets).

UPDATE: And one more important thing: The person can send the same files with success to 'S2' in 'E2' via other device (Nokia with Symbian).

I have really no idea what's going on. Do you?

'S1' - my ftp server in my location
'E1' - my environment: an iOS device, WiFi network W1, firewall F1,
'S2' - ftp server in other country
'E2' - environment in other country: an iOS device, WiFi network W2, firewall F2

Upvotes: 4

Views: 3830

Answers (1)

Walt Sellers
Walt Sellers

Reputation: 3939

The posix network functions will not cause iOS to turn on the WiFi radio if it has gone to sleep. You must use some NS-methods to make it wake and begin to connect.

Upvotes: 1

Related Questions