I think I've run into what must be a bug in Flow. I'm attempting to use two file system connections in the same flow as I'm trying to transfer a file between file servers (initiated from SharePoint). The first connection uses an action to get the file contents of a text file, and the second action uses an action (different connection) to create the file. Here is how I have it setup:
I have verified many times that each is using the correct connection (I have a connection setup for each file server, and they're entirely different set of credentials). When I run this, the Create File step creates the file on the file server in which I'm getting the file content, but uses the entire path defined in the Folder Path attribute of the Create File step. You can see what I mean in the results:
I have tried recreating all of the connections, using different credentials, and recreating the entire Flow, but it always results in this very odd behavior. Any ideas how to work around this or what I may be doing wrong?