How to read a txt file with 1500000 lines

Hi all,

I have a project in which I am asked to read a txt file, make some changes by consulting a file in excel, then the same format should be retained.

I can not divide the file because it comes directly from a download that the robot makes.

UiPath Activities
I can not read it with the read text file activity because the robot stops working and
and also try to open it with excel but it only allows me to read 1048.576 rows.

Studio 2017.1.6682
Enterprise Edition

Someone has a better idea!!

Thanks for your time!!

@Susana @Thiago @badita @tnegherbon


Have you tried do use a StreamReader and its Readline function?

There is some example bellow.

I would use invoke code for that (It should be available in 2017.1)



This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.