182
Views
8
Comments
Upload a txt file
Question
Hi,

how can I upload a text file and process it's data?

Best Regards,
Carlos Mendes
2023-08-26 12-58-47
José Martins
Hi Carlos,

To parse your text file, you can follow the next three steps:
1. Upload your text file with the "Input Filename" widget;
2. Use the BinaryData extension to convert the binary content into text format;
3. Use the Text extension to parse your file.

I hope it helps!

Regards,
José Martins
UserImage.jpg
Natanael Osorio
I cannot find the Input filename widget in  OutSystems 9.

José Martins wrote:
Hi Carlos,

To parse your text file, you can follow the next three steps:
1. Upload your text file with the "Input Filename" widget;
2. Use the BinaryData extension to convert the binary content into text format;
3. Use the Text extension to parse your file.

I hope it helps!

Regards,
José Martins
 
 
2018-05-16 11-16-36
João Heleno
 
MVP
Hi Natanael,

you should look for the Upload widget. 

There's also good info on the help pages:

https://www.outsystems.com/help/servicestudio/9.0/Web_User_Interface/About_Upload_Widget.htm


Natanael Osorio wrote:
I cannot find the Input filename widget in  OutSystems 9.

José Martins wrote:
Hi Carlos,

To parse your text file, you can follow the next three steps:
1. Upload your text file with the "Input Filename" widget;
2. Use the BinaryData extension to convert the binary content into text format;
3. Use the Text extension to parse your file.

I hope it helps!

Regards,
José Martins
 
 
 
 
2017-10-29 20-15-13
Carlos Mendes
Hi,

thanks for the help. I did find an extension that resolve the problem: "FileSystem".


Best Regards,
Carlos Mendes
2024-01-05 16-00-17
Filipe Lourenço
How to solve the problem of accents like "~,^". I have BinaryDataToText(InputFilenameDistricts.Content,"utf-8") but not solve
UserImage.jpg
Nuno Rosado
I tryed to use upload widget to import a txt file but when It seems that the content of the fille is always with 0 bytes.
2018-05-16 11-16-36
João Heleno
 
MVP
Your button's method must be "Submit"...
UserImage.jpg
Nuno Rosado
Thats it. Thanks
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.