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

Scp error unexpected filename, again? #744

Closed
yanivka opened this issue Nov 30, 2020 · 3 comments
Closed

Scp error unexpected filename, again? #744

yanivka opened this issue Nov 30, 2020 · 3 comments

Comments

@yanivka
Copy link

yanivka commented Nov 30, 2020

ScpClient (2016.1.0) is falling when calling Upload with the exception "scp: error: unexpected filename: "

The function is called with:
scp.Upload(new FileInfo(@"C:\chunks\f671a706-d92e-4538-bc4a-037c8341149d.tar.gz"), "/root/f671a706-d92e-4538-bc4a-037c8341149d.tar.gz");

Notes - My application is running as admin on the local computer and the file exist, the application connects to the target host using root credentials.

I saw some familiar problems #516 , #515 . it says that this problem is already solved .... but I am still getting the same exception

@drieseng
Copy link
Member

This is fixed in version 2020.0.0-beta1. Is that the version you're using?

@yanivka
Copy link
Author

yanivka commented Dec 1, 2020

Oops ... sorry I was using the older version.

I just installed it using the NuGet Package manager Gui, only the 2016.1.0 version is showing because I didn't checked the Prerelease filter.

Thank you very much

@yanivka yanivka closed this as completed Dec 1, 2020
@yi452873250
Copy link

Hi,I use scp.upload, but it tell me "scp: error: unexpected filename: " I used the newest version 2020.0.1 How can I do it ? please!,
QQ图片20210507134132

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

3 participants