Import from text file

Hi all,

I need to do following.

  1. create some models
  2. upload a text file the text file has
    a. first row with header info.
    b. rows with fixed column length for different columns
    c. last row with trailer info.
  3. i need to process line by line and put it into several tables or models terms in frappe
  4. must be able to roll back effect if 1 row is failed
  5. max rows is 20000

Can I do that using frappe? I hope there is at least a book for developing in frappe as a reference.

You can easily do this with the REST API

https://frappe.io/docs/user-guide/rest_api