Hi Ialejandro Take a look at Massimo's csvStudio. There is also a video on vimeo.
I remember that you can make models from the CSV data and manipulate the data with simple methods. -D On Mar 23, 1:39 am, Ialejandro <ialejandr...@gmail.com> wrote: > HI everyone!! this time I have a new question... > > I'm developing an application where I generate an INI file (could be > any file) with specific info. > > For example I have this ini structure > > [Room] > > name = room1 > color = red > size = big > > (I generate the file dynamically from an X computer [x could be any > computer running a python script) > > After the file is generated, is sent by FTP to my web2py server PC in > C:\SERVER\iniuploads > > The question is, how could I read the ini file values and save them in > a model?? > > Some to consider is: > > - Could be many ini files (each one with the room name, so the name of > the file is the same of [Room]) > - I need to check every X time if a new ini file has been uploaded, > and new files must be processed (save on db) > - After a file is processed it must be deleted > > How could I do this?? It's ok to change the ini to any other file > format, what I need is the contained info in a DB.