login about faq

Please help on below error : I am trying to send the one file from Unix server to Windows server. Have generated the public key for the Windows ID in UNIX server and shared same with Windows server.

SSHg3 command is successfull and I am able to connect to Windows sever from Unix box. But Scpg3 command is not success "" error: The data is invalid. , file: ." errro code with no other detailed message:

============================================ sourceid@ahostserver:/home/sourceid>scpg3 Test.txt remoteid@ error: The data is invalid. , file: . ============================================ File permission of "Test.txt" is given as 777.

Please help to review and let me know if I am doing something wrong somewhere.

asked Aug 04 '15 at 06:19

aky701's gravatar image


Please try the following command instead. I would need to see how your Virtual folders were setup in order to know for sure if this would work, but the Tectia SSH Server treats the paths more like an UNC path structure on windows, and therefore this command below may work for you (based on my assumptions of your setup).

scpg3 Test.txt remoteid@\C:\Users\remoteid\Test.txt


answered Aug 04 '15 at 14:50

Joe%20-%20Tectia%20Support's gravatar image

Joe - Tectia Support ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Aug 04 '15 at 06:19

Seen: 4,376 times

Last updated: Aug 04 '15 at 14:50

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.