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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Sharepoint File Copy t...
Power Automate
Unanswered

Sharepoint File Copy to SFTP-SSH Location (S3 Bucket)

(1) ShareShare
ReportReport
Posted on by 26
Hi all,
 
I've been trying to create a flow to save attachments in emails to SFTP-SSH and have even followed the post SFTP file from email attachment and have set everything the same. I also followed this video SharePoint Files to AWS S3 via Power Automate but unable to get the create file option to work
 
I've tried both the old and new designers within power automate and have exactly the same issue
 
on the new designer it reports in copilot the 'create file' has the following error

The message means the flow tried to create a file at a location called "/test", but that folder or path does not exist on your SFTP server.

How to fix: 1.Go to Edit mode in your flow. 2.Find the "Create file" action. 3.In the "Folder Path" field, enter the correct folder location where you want the file saved (e.g., "/Documents" or another existing folder

 

But why is it trying to find the file on the location i'm wishing to create it on, surely it should be getting the file from email or sharepoint and then uploading this to the sws s3 location

 
Appreciate any help on trying to get resolved

Thank you
Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,985 Most Valuable Professional on at
    Hi
     
    Could you post a screenshot of your flow please? Want to see the action steps and mappings.
     
    Thanks
  • MM-20111146-0 Profile Picture
    26 on at
    Hi,

    Thanks for reply and apologies for late response
     
    We managed to get it working using TransferSecurityPolicy-2020-06 but fails every time we try  to use TransferSecurityPolicy-2022-03
     
    The connection says connected and it's a valid connection but the flow reports 
     
    You have a broken connection for 'Create file'. Pleasefix connection. Alternately, you can select another valid connection or create a new connection from connections tab in the action pane.

    How do it get it to work with TransferSecurityPolicy-2022-03?

    Thanks

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard