Marco Maria Vilucchi Active Member Licensed User Longtime User Apr 1, 2017 #1 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: 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 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
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: 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 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
Erel B4X founder Staff member Licensed User Longtime User Apr 2, 2017 #2 Try to disable ATS: Code: Copy #ATSEnabled: False Are you testing it on a real device? Are you sure that it is connected to the internet? Upvote 0
Try to disable ATS: Code: Copy #ATSEnabled: False Are you testing it on a real device? Are you sure that it is connected to the internet?
Marco Maria Vilucchi Active Member Licensed User Longtime User Apr 2, 2017 #3 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
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)
Erel B4X founder Staff member Licensed User Longtime User Apr 2, 2017 #4 It is worth updating to a newer version of B4i. Apple is moving fast and makes changes that are not always backwards compatible. Note that I'm not sure that the issue here is with ATS or not. Upvote 0
It is worth updating to a newer version of B4i. Apple is moving fast and makes changes that are not always backwards compatible. Note that I'm not sure that the issue here is with ATS or not.
Marco Maria Vilucchi Active Member Licensed User Longtime User Apr 5, 2017 #5 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
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
Erel B4X founder Staff member Licensed User Longtime User Apr 6, 2017 #6 Can you send me the FTP server parameters? Upvote 0
Marco Maria Vilucchi Active Member Licensed User Longtime User Apr 6, 2017 #7 Server, user and password? How can i send you them confidentially? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Apr 6, 2017 #8 Create a small project and send it to [email protected]. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Apr 6, 2017 #9 I get the same error that you got. It is a permission issue. Upload the file to the accessible folder and it will work: Code: Copy FTP.UploadFile(File.DirDocuments, "appo.jpg", True, "/www.mamavisoftware.it/test.jpg") Upvote 0
I get the same error that you got. It is a permission issue. Upload the file to the accessible folder and it will work: Code: Copy FTP.UploadFile(File.DirDocuments, "appo.jpg", True, "/www.mamavisoftware.it/test.jpg")
Marco Maria Vilucchi Active Member Licensed User Longtime User Apr 6, 2017 #10 Tks Erel, sorry for disturbing Upvote 0