cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Create Folder in SFTP to Place File

I am extracting email attachments from a shared mailbox. The attachments are than supposed to be stored on my SFTP server for further processing.

 

The files are supposed to be loaded in a folder that has the name of the "send to" email address.

 

The Folder Path referencing "to" doesnt exist on my SFTP server, i want the flow to create this folder path.

 

When I run the flow it states, "Folder Path not Found" which is correct, as I want the Flow to create the folder with the name dynamic name of "to" the recivers emails.

 

How can I create the folder with the name "to" so that my files can be placed there?

 

Pic1.pngPic2.png 

3 REPLIES 3
Highlighted
Community Support
Community Support

Re: Create Folder in SFTP to Place File

Hi @Primarystorage ,

 

Do you want to save the attachments to a corresponding SFTP folder?

 

I don't have a SFTP server, so I have made a similar test using OneDrive for Business, please check the following flow for a reference:

1.PNG

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Create Folder in SFTP to Place File

Hello Mabel,

Thank you very much for that, I know on OneDrive the Directory gets created automatically if it doesn’t exist. On the SFTP Server on the other hand it creates an error message that the folder path which was referenced doesn’t exist.

Highlighted
Community Support
Community Support

Re: Create Folder in SFTP to Place File

Hi @Primarystorage ,

 

Without using a dynamic content in the Folder path field, are you able to save the file to SFTP sub-folder successfully?

Please share more details on the error message. A screenshot would be great.

Please also share a URL of the flow.

 

Best regards,

Mabel

 

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

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Top Kudoed Authors
Users online (8,181)