Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot scp_upload from Windows to Windows #52

Open
certara-mtomashevskiy opened this issue Oct 28, 2021 · 1 comment
Open

cannot scp_upload from Windows to Windows #52

certara-mtomashevskiy opened this issue Oct 28, 2021 · 1 comment

Comments

@certara-mtomashevskiy
Copy link

certara-mtomashevskiy commented Oct 28, 2021

hi
I can start connection with another Windows host and execute there the commands with ssh_exec_internal as usual
but scp_upload does not seem to be working:
> ssh::scp_upload(.Object@session, "D:/temp/Args.txt", "c:\\Users\\User")
Error: SCP failure: SCP: Warning: status code 1 received: scp: 'c:/Users/User': No such file or directory

Looks like it transforms the paths from Windows style to Unix style, but it does not work
To be sure that the connection is working I tried
> ssh::scp_upload(.Object@session, "D:/temp/Args.txt", "1")
[100%] D:\temp\shu\prn824\model_pk\jobArgsCombined.txt
[1] "1"

in such case file args.txt is copied on the host, but has a strange name '1' (with ticks), same for other names I tried.
Are there any workarounds I missed?

@anthonycastellano
Copy link

anthonycastellano commented Jan 18, 2023

I've been running into the same issue from Windows to Windows and RHEL to Windows. Did you end up finding a workaround?

Edit: Also tested on Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants