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

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Unable to retrieve files from SFTP server's virtual paths/directories using Logic Apps

(2) ShareShare
ReportReport
Posted on by 1,417
Hi,
 
I have a requirement where I have to connect Business Central to SFTP server. I chose the logic app approach which worked fine till the time the directories were permanent. 
 
Now, they have switched the directories to be virtual. And now when I send any file, I am unable to get any response if my file is uploaded or not. Also, my files vanish as soon as the file reaches the virtual path. I do not get any error that says upload failed or anything, but I do not get the success message either.
 
I also made the connection via Filezilla and WinSCP, using them too I wasn't able to see neither any folder nor any files apart from the root folder.
 
Has anyone worked on virtual paths, if yes, am I missing anything?
 
Also, in my logic app, I have used Create File and List Files in Folders triggers in SFTP-SSH.
 
Any kind of help is welcome.
I have the same question (0)
  • Verified answer
    Aman Kakkar Profile Picture
    1,417 on at
    Unable to retrieve files from SFTP server's virtual paths/directories using Logic Apps
    Hi,
     
    I was able to solve my problem so answering it in the forum.

    Reading files via Logic Apps from an SFTP server isn’t supported when the paths are virtual. In such cases, Logic Apps cannot list or read files because the SFTP connector expects a physical directory structure.

    We had a similar situation — and switching to Azure Functions solved it.

    We can still upload files into virtual folders using Logic Apps, but we won’t be able to read or poll response files that appear in those virtual paths.

     

    Aman K

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 83 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 57 Most Valuable Professional

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 52 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans