sftp-action
sftp-action copied to clipboard
Make local- and remotePath optional and additionalPaths as full alternative solution
As an addition to #10 remove need of local- and remotePath and create a "paths" input with full json string, E.g.
[
{
"localPath": "./file.one",
"remotePath": "./remotefile.one"
},
{
"localPath": "./file.two",
"remotePath": "./remotefile.two"
}
]
Possible use case: Upload the same local file to multiple remote locations. With the current implementation of "additionalPaths", this wouldn't been possible