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 email@example.com:/C:/Users/remoteid/Test.txt 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
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 firstname.lastname@example.org:\C:\Users\remoteid\Test.txt
answered Aug 04 '15 at 14:50
Joe - Tectia Support ♦♦