Transfer Files Flow Variable Issue

I’m using the Transfer File node to move files via SSH Connector to Google Drive. I can use a wildcard or regular expression to designate files to move, but what I actually want is to pass a single file name to it so I’m not always reimporting the same files since the host isn’t cleaning up old files. The use variable option is greyed out and none of the flow variables appear to accept a path or file name, so it’s unclear how this node should be accepting input parameters. Why are the variable settings disabled?

Hi!
I think I understood your question.
When you not have any variable of type “path” you cannot set a variable in spots that use path variables, like the path parameter in pic beneath
image

But when you have some variable of type path It turns available to set the variable, like the pic
image

What you have to do so
image

Into “variable expressions” node we have the option to create directly a variable of type “path” so we wouldn’t need to use the “string to path” node, but this option seems not work well, so we need to convert the variable of type string to variable of type path.

4 Likes

Good answer. I will give that a try. Thanks.

As a follow-up, if you are filtering to a single file as I was, then you’re going to pass the file name and not the path and make sure the file option is being used. Worked like a charm, so I presume whenever we encounter a flow variable that can’t be overwritten that there may likely be another node somewhere that can do that. Not intuitive, but duly noted.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.