mysql - sent content text file to server and insert content to database with angular 2 and express -


i have text file in client have many line this:

004849   20170910  1022 005941   20170910  2359 004731   20170911  0900 

user send every day, number of text file row server (from line x end of file). store x in text file near main text file , update end of file line number, every time sent complete.

text file in front end updated program every day (the rows added it).

number of line on 100 entry in every time must send.

in server have table in mysql text file rows must insert that.

i use of restful api in server side.

what best idea solve problem.

i can upload section of file server (with ng2-file-upload) , in server save directory ./upload , read node , insert db.

or maybe best read line line text file in client , send 1 one server

or way . . .


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -