windows - Trying to copy JAR file from local machine to linux server -


i trying copy jar file local machine linux(centos) server, getting error.

this command:

pscp watch.jar dev@10.10.40.74:/home/dev/documents 

watch.jar name of jar , dev user on server. trying copy file particular location(home/dev/documents)

the error got is:

watch.jar: network error occurred 

http://i.stack.imgur.com/avbij.png

and when run java -jar watch.jar on linux server, says

error: invalid or corrupt file. 

any appreciated.


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -