web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Read data in .txt file...
Power Automate
Unanswered

Read data in .txt files with desktop flows

(0) ShareShare
ReportReport
Posted on by 48

Hello team,

 

we have the files in ftp server, need the data in the files & to write the data in an legacy application. It is with .txt as extension not an excel file. So how can we do it , kindly mention.

I have the same question (0)
  • VJR Profile Picture
    7,635 on at

    - Use The Download Files from FTP action

    Power Automate Desktop : 114 || Download File(s) from FTP || FTP Automation - YouTube

    - In the Files to Download parameter give *.txt

    - Then use Read text from file action for reading the contents of the text file.

  • UserCflows_12 Profile Picture
    48 on at

    Thank you for the quick response.

     

    But for that action , we need to give the exact location of the file . But in our scenario, we keep getting files through FTP , so we need to read content of all those . So we can't give  a specific location. May be we can give specific folder path , but the read action will only take path of a static/only one file. 

     

    Kindly mention.

  • VJR Profile Picture
    7,635 on at

    You can use List FTP path which will give all the list of folders and files and then loop through the required folders.

  • UserCflows_12 Profile Picture
    48 on at

    Thanks a lot @VJR for your response . Sorry for the delay in response , missed the notification. So you say List FTP Directory, we get the files/directories variables as output? So then create a loop & call the 'Read text action' & pass the files/directories variables as input? And expression to get the required files/directories among the list of files/directories?

     

    It's  List FTP Directory in the new updated version. Kindly confirm on the process.

  • Verified answer
    VJR Profile Picture
    7,635 on at

    Yes its the List FTP Directory with the path in the Path parameter

    VJR_0-1671678045390.png

     

    In the video it is shown how to get the files of only a specific extension.

    I guess .pptx is shown and likewise you will need .txt

     

  • UserCflows_12 Profile Picture
    48 on at

    Thanks a lot @VJR  for your quick response & the solution helped.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard