iOS Question FTP Upload error

Marco Maria Vilucchi

Active Member
Licensed User
Longtime User
Sorry for m questions but I'm locked....

I need to sent ana image to a server FTP
I saved image (appo.jpg) in File.Dirdocuments
Then i try upload.
This is the code:

upload_2017-4-1_9-1-34.png


upload_2017-4-1_9-2-52.png


The code is the same posted by Erel (for B4A)here:
https://www.b4x.com/android/forum/threads/android-ftp-tutorial.10407/
Nothing for B4I.

This is the LOG

upload_2017-4-1_9-5-36.png

This is the Error:

Cod Errore: 0 - Error writing to stream: The operation couldn’t be completed. (kCFErrorDomainCFNetwork error 200.)

I tried to change Server
I tried to change File
I tried to change Path
Nonthing in the forum nothing in internet.....

Nothing works.... I'm locked
Someone can help me?
Tks
Marco
 
Thanks Erel,
but I have B4I 2.0
I have a real device (IOS 7.2.1) connected to the internet
I have a compile error with #ATSEnabled: False (Attribute not supported: atsenabled)
 
Upvote 0
I updated to 3.6 version of B4I (near 70 euro) and I disabled ATS (#ATSEnabled: False on Project Attributes)
but i have same error.

Cod Errore: 0 - Error writing to stream: The operation couldn’t be completed. (kCFErrorDomainCFNetwork error 200.)

I'm almost disperate....
Some help please
Tks
Marco
 
Upvote 0
Back
Top