0 vote
Hello Dev-Team,
according to the Service Desk, remote and local path settings in WinSCP sessions are not implemented yet.
They only work on Filezilla sessions.
WinSCP itself supports the option to set a local and a remote path, so it would be nice to have that implemented in RDM, too.
Thank you for reading :)
Hello,
I looked at the WinSCP documentation for the command line (https://winscp.net/eng/docs/commandline) and the parameters that seem to be related to a local path and a remote path are for the /synchronize and /keepuptodate parameters, which aren't in use in RDM.
Do you have an example of a command line that achieves what you're trying to do?
Regards,
Hubert Mireault
winscp.exe scp://<USERNAME>:<PASSWORD>@somehost:22/var/log/ /privatekey=C:\PuTTY\Keyfiles\private.ppk /rawsettings LocalDirectory=%USERPROFILE%\Downloads
=> Would open a scp session with /var/log directory on remote site and C:\Users\<USERNAME>\Downloads directory on local drive
HTH :)
Thank you for the example, we'll add this to our todo list. :)
Regards,
Hubert Mireault
Just found out, that the password for the private key can also be passed via commandline, maybe that helps to fully implement WinSCP:
winscp.exe scp://USERNAME:PASSWORD@somehost.eu:22/var/log/ /privatekey=D:\PuTTY\KEYFILE.ppk -passphrase=PASSWORD /rawsettings LocalDirectory=%USERPROFILE%\Downloads
The underlined PASSWORD is for the PK, the other one for login without using PK...
Both can be filled, no issues there. Would be nice, if that will be fully implemented :)
Thanks for the example! We'll work on adding this as well.
Regards,
Hubert Mireault
Hello,
We implemented the local path setting and fixed the problem with the private key in WinSPC.
To get the local path and the remote path settings to work, you'll have to put the entire path that you want to access. For example: C:/Users/Music
All changes will be effective in the next update (2019.1.36.0)
Regards,
Gabriel Dubois