Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Get Full paths listed to selected files via custom command.

It's not possible. But you can merge the values of !/ and !& in your local command/script.

For an example, see:
https://winscp.net/eng/docs/library_example_advanced_rename
$fullName = [WinSCP.RemotePath]::Combine($remotePath, $file)
user564758

Re: Get Full paths listed to selected files via custom command.

martin wrote:

A local or a remote custom command?


This is to get a list of remote files with their full paths.

It is a local command with a remote flag.
martin

Re: Get Full paths listed to selected files via custom command.

A local or a remote custom command?
user564758

Get Full paths listed to selected files via custom command.

Is there a way to mimic this functionality:



Using custom commands. I have tried with these https://winscp.net/eng/docs/custom_command#patterns but the problems are:

1: using
!/!
opens connection/shell per item and that is not the desired outcome. I end up with 10 or so individual connections for the list with 1 item per connection listed.

2: Using
!/!&
gives me the full path to the first file and then the separated list of the remaining filenames selected. I could make an assumption the first filepath provided has to be true of all files selected but i wondered if i had missed a proper method for doing this inline with the image i posted.