vbmundo Well-Known Member Licensed User Jun 20, 2016 #1 Hi, The first thing that occurred to me is that my phone ran out of space and then the Bridge miscarried. And then when I took a couple of applications of many megabytes achievement run the Bridge, but when trying to Write a file in my Movil I have this error. The line code is that Code: File.WriteString(Starter.Carpeta,Starter.Archivo,RegistroEncriptado) (ErrnoException) libcore.io.ErrnoException: open failed: EISDIR (Is a directory) I clarify that there is nothing wrong with my code ... it is the same code that always run smoothly Regards Last edited: Jun 20, 2016
Hi, The first thing that occurred to me is that my phone ran out of space and then the Bridge miscarried. And then when I took a couple of applications of many megabytes achievement run the Bridge, but when trying to Write a file in my Movil I have this error. The line code is that Code: File.WriteString(Starter.Carpeta,Starter.Archivo,RegistroEncriptado) (ErrnoException) libcore.io.ErrnoException: open failed: EISDIR (Is a directory) I clarify that there is nothing wrong with my code ... it is the same code that always run smoothly Regards
DonManfred Expert Licensed User Longtime User Jun 20, 2016 #2 due to the error the destination is not a file. it is a directory. Put some logs to see the problem (maybe one of the values does changes it´s content (wrong)) Code: log("Carpeta="&Starter.Carpeta) log("Archivo="&Starter.Archivo) log("RegistroEncriptado="&RegistroEncriptado) File.WriteString(Starter.Carpeta,Starter.Archivo,RegistroEncriptado) Last edited: Jun 20, 2016 Upvote 0
due to the error the destination is not a file. it is a directory. Put some logs to see the problem (maybe one of the values does changes it´s content (wrong)) Code: log("Carpeta="&Starter.Carpeta) log("Archivo="&Starter.Archivo) log("RegistroEncriptado="&RegistroEncriptado) File.WriteString(Starter.Carpeta,Starter.Archivo,RegistroEncriptado)
Erel B4X founder Staff member Licensed User Longtime User Jun 20, 2016 #3 Also check: Code: Log("IsDirectory=" & File.IsDirectory(Starter.Carpeta,Starter.Archivo)) Upvote 0