Question

How do I generate a record in MySQL once a new file arrives at the Brick FTP Server?


What I want to do is once a new file arrives at the BRICK FTP Server,
 I generate a record in a MYSQL database with the data that comes inside the 
file that arrived, which is an XML


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Userlevel 7
Badge +14

Hi @Miguel_Almanzor 

Good question.

Many apps don’t return the contents of a file since that data payload could be large in size.

As a possible workaround, with Dropbox when a File is Uploaded, there is an option to return the file contents (again assuming the file contents size isn’t too large).

Hi @Miguel_Almanzor 

Good question.

Many apps don’t return the contents of a file since that data payload could be large in size.

As a possible workaround, with Dropbox when a File is Uploaded, there is an option to return the file contents (again assuming the file contents size isn’t too large).

OK ok and is there any way to do what i request.
I see that Javascript can also be connected, and it occurs to me that the xml file that arrives at the server through brick ftp generates an array in javascript and that array is the one that is inserted in MYSQL