Logic App File content

clouddataquest 91 Reputation points
2022-10-03T09:58:33.173+00:00

Hello,

I made a Logic app which transfers Files to another path. Now I need Log Files which are txt files with the name of the transfered data as file contant. So I just need to put the file names as file content but im not sure how to get the names. Hope you understand me an maybe have some tipps for me. Thank you very much.

Best regards

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,551 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MikeUrnun 9,777 Reputation points Moderator
    2022-10-05T19:14:40.23+00:00

    Hello @clouddataquest - Welcome to MS Q&A, and thanks for posting here!

    Could you share a screenshot of your Logic Apps workflow? Be sure to omit any private information from the screenshot. If I understand correctly, you have an existing workflow which transfers .txt files from one folder to another (these are Log Files that contain logs as content), and during this flow, you want to add another step which overwrites the log content with name of file being transferred?

    For locating and using file names, i’m not sure which exact Connector you’re using (there are many file related ones: Files, FTP, SFTP, BLOB etc..) but for example, in the case of the FTP Connector, the file name should become available from the Get file metadata action.

    In the case of File System connector, it also has: Get file metadata action.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.