
Quote from Palamar on May 16, 2019, 5:57 pmHola:
Vengo con otra consulta. Viendo los tutos he logrado utilizar el objeto File Input y elegir un archivo correctamente. La pregunta es cómo podría subir ese archivo a una carpeta particular del servidor donde este la APP?, y existe la posibilidad de crear una carpeta? o es necesario utilizar un PHP en el server?.
Saludos!
ENG:
Hello: I come with another query. Looking at the documents I have managed to use the File Input object and choose a file correctly. The question is how could that file be uploaded to a particular folder on the server where the APP is ?, and is there the possibility to create a folder? or is it necessary to use a PHP on the server?
Greeting!
Hola:
Vengo con otra consulta. Viendo los tutos he logrado utilizar el objeto File Input y elegir un archivo correctamente. La pregunta es cómo podría subir ese archivo a una carpeta particular del servidor donde este la APP?, y existe la posibilidad de crear una carpeta? o es necesario utilizar un PHP en el server?.
Saludos!
ENG:
Hello: I come with another query. Looking at the documents I have managed to use the File Input object and choose a file correctly. The question is how could that file be uploaded to a particular folder on the server where the APP is ?, and is there the possibility to create a folder? or is it necessary to use a PHP on the server?
Greeting!

Quote from luishp on May 16, 2019, 6:20 pm@palamar aun hay muchas cosas por hacer.
El plugin neoPhp está aun dando sus primeros pasos.
De momento el objeto File Input sirve para leer el contenido de archivos locales, pero fíjate que una vez lo has leido, puedes guardar su contenido en el servidor con neoPhpFileWrite.
Eso si, la carpeta tiene que existir previamente y el archivo debe haber sido definido también previamente en el archivo config.php con permisos de escritura.
Hay muchas de las funcionalidades posibles, como crear y eliminar carpetas y archivos, que hay que pensar muy bien como implementarlas porque, aunque es posible hacerlo por la vía rápida, provocarían muchos problemas de seguridad.
Saludos!English:
@palamar there are still many things to do.
The neoPhp plugin is still taking its first steps.
At the moment the File Input object is used to read the contents of local files, but note that once you have read it, you can save its content on the server with neoPhpFileWrite.
The folder must exist previously and the file must have been previously defined in the file config.php with write permission.
There are many of the possible functionalities, such as creating and deleting folders and files, that we have to think very well how to implement them because, although it is possible to do it quite quickly, they would cause many security problems.
Regards!
@palamar aun hay muchas cosas por hacer.
El plugin neoPhp está aun dando sus primeros pasos.
De momento el objeto File Input sirve para leer el contenido de archivos locales, pero fíjate que una vez lo has leido, puedes guardar su contenido en el servidor con neoPhpFileWrite.
Eso si, la carpeta tiene que existir previamente y el archivo debe haber sido definido también previamente en el archivo config.php con permisos de escritura.
Hay muchas de las funcionalidades posibles, como crear y eliminar carpetas y archivos, que hay que pensar muy bien como implementarlas porque, aunque es posible hacerlo por la vía rápida, provocarían muchos problemas de seguridad.
Saludos!
English:
@palamar there are still many things to do.
The neoPhp plugin is still taking its first steps.
At the moment the File Input object is used to read the contents of local files, but note that once you have read it, you can save its content on the server with neoPhpFileWrite.
The folder must exist previously and the file must have been previously defined in the file config.php with write permission.
There are many of the possible functionalities, such as creating and deleting folders and files, that we have to think very well how to implement them because, although it is possible to do it quite quickly, they would cause many security problems.
Regards!

Quote from Palamar on May 20, 2019, 4:11 pmEntiendo Luis, bueno, en la espera elaboré un pequeño ejemplo con PHP y VisualNeo que a mi me ha funcionado. Lo he probado en LocalHost así que supongo que en un server real va a necesitarse permiso en la carpeta destino. El php.ini define 2mb de subida así que también hay que tener en cuenta en caso de que queramos subir uno mas grande.
En fin no sé, lo dejo acá por si alguien le sirve, estoy viendo algo para mejorarlo.
https://mega.nz/#!fQhiSSqB!caUzGLEROCf6EaShb2JB53ZXUnQ7Nty9zJoau3oVxPo
Saludos!
Entiendo Luis, bueno, en la espera elaboré un pequeño ejemplo con PHP y VisualNeo que a mi me ha funcionado. Lo he probado en LocalHost así que supongo que en un server real va a necesitarse permiso en la carpeta destino. El php.ini define 2mb de subida así que también hay que tener en cuenta en caso de que queramos subir uno mas grande.
En fin no sé, lo dejo acá por si alguien le sirve, estoy viendo algo para mejorarlo.
https://mega.nz/#!fQhiSSqB!caUzGLEROCf6EaShb2JB53ZXUnQ7Nty9zJoau3oVxPo
Saludos!

Quote from luishp on May 21, 2019, 8:11 pm¡Gracias por compartirlo!
Fíjate que el archivo de configuración php.ini puede editarse para adaptarse a cualquier necesidad.
En la próxima versión trataremos de incluir la posibilidad de subir archivos al servidor.Saludos!
Eng:
Thanks for sharing your upload facility.
Note that php.ini can be edited to fulfill any need.
In next version will try to add the upload file functionality.
Regards.
¡Gracias por compartirlo!
Fíjate que el archivo de configuración php.ini puede editarse para adaptarse a cualquier necesidad.
En la próxima versión trataremos de incluir la posibilidad de subir archivos al servidor.
Saludos!
Eng:
Thanks for sharing your upload facility.
Note that php.ini can be edited to fulfill any need.
In next version will try to add the upload file functionality.
Regards.

Quote from Palamar on May 22, 2019, 1:33 pmPues dicha función sería excelente @luishp. Una sugerencia: No estaría bueno abrir una sección del foro con sugerencias?, sé que no estas siguiendo las dinámicas anteriores pero era una sección útil para tener a mano muchas sugerencias preciadas por los usuarios...
Saludos!
Eng:
Well, that function would be excellent @luishp. One suggestion: Would not it be nice to open a section of the forum with suggestions ?, I know that you are not following the previous dynamics but it was a useful section to have at hand many suggestions prized by the users ... Regards!
Pues dicha función sería excelente @luishp. Una sugerencia: No estaría bueno abrir una sección del foro con sugerencias?, sé que no estas siguiendo las dinámicas anteriores pero era una sección útil para tener a mano muchas sugerencias preciadas por los usuarios...
Saludos!
Eng:
Well, that function would be excellent @luishp. One suggestion: Would not it be nice to open a section of the forum with suggestions ?, I know that you are not following the previous dynamics but it was a useful section to have at hand many suggestions prized by the users ... Regards!