cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
657Bryant
Level: Power Up

Using SFTP to Box Template

I am using the SFTP to Box Template.  My goal is to copy one of the five files that are delivered daily to a Box directory.

 

I have inserted a condition in the Flow template between When a File is Created(SFTP) and Create File (Box).  The condition is if the file created on SFTP starts with August_Ship_Advice then create a File on Box.

 

I have tested the flow, it runs successfully but the condition always comes back negative and no file is created on Box.  What am I  doing wrong?

 

Flow.jpg

1 REPLY 1
Community Support Team
Community Support Team

Re: Using SFTP to Box Template

Hi @657Bryant ,

 

The file name from the trigger is encoded to base 64. You could change "x-ms-file-name-encoded" to "x-ms-file-name".

Hope the link below could be your referance:

https://powerusers.microsoft.com/t5/Building-Flows/FTP-filename-condition/td-p/253949

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (6,147)