Upload a txt file

Upload a txt file

  
Hi,

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

Best Regards,
Carlos Mendes
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
Hi,

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


Best Regards,
Carlos Mendes
How to solve the problem of accents like "~,^". I have BinaryDataToText(InputFilenameDistricts.Content,"utf-8") but not solve
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
 
 
Hi Natanael,

you should look for the Upload widget. 

There's also good info on the help pages:

http://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
 
 
 
 
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.
Your button's method must be "Submit"...
Thats it. Thanks