# Not able to copy jar from drone cloud to dev server(another server)

**URL:** <https://drone.discourse.group/t/not-able-to-copy-jar-from-drone-cloud-to-dev-server-another-server/8913>\
**Category:** Drone Support\
**Created:** [May 16, 2020, 10:53am UTC](https://drone.discourse.group/t/not-able-to-copy-jar-from-drone-cloud-to-dev-server-another-server/8913 "2020-05-16T10:53:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![VikashS](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/vikashs/32/4527_2.png) [@VikashS](https://drone.discourse.group/u/VikashS)\
**Post date:** [May 16, 2020, 10:53am UTC](https://drone.discourse.group/t/not-able-to-copy-jar-from-drone-cloud-to-dev-server-another-server/8913/1 "2020-05-16T10:53:46Z")

</div>

Hi I am able create the maven build on drone cloud but not able to copy into my dev server. Please let me know if any thing more specific required for same. Please also share command to copy from drone to another server.

---

<div class="post-metadata">

**Author:** ![ashwilliams1](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/ashwilliams1/32/5549_2.png) [@ashwilliams1](https://drone.discourse.group/u/ashwilliams1)\
**Post date:** [May 16, 2020, 4:07pm UTC](https://drone.discourse.group/t/not-able-to-copy-jar-from-drone-cloud-to-dev-server-another-server/8913/2 "2020-05-16T16:07:51Z")

</div>

Drone pipelines are essentially just shell commands, so you would need to add a step to your pipeline that includes shell commands to copy the jar file to your server (ssh, scp, sftp, etc). What shell commands would you use locally (from your laptop terminal) to copy the file to your server? Use those same commands in your Drone pipeline.

---

<div class="post-metadata">

**Author:** ![VikashS](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/vikashs/32/4527_2.png) [@VikashS](https://drone.discourse.group/u/VikashS)\
**Post date:** [May 21, 2020, 5:39pm UTC](https://drone.discourse.group/t/not-able-to-copy-jar-from-drone-cloud-to-dev-server-another-server/8913/3 "2020-05-21T17:39:50Z")

</div>

@ashwilliams1 Thanks for quick help. I am able to execute the the code same like unix command. I am also getting an issue while running ( image: appleboy/drone-scp). I have set the target to copy my jar into my server with some specific path. The source path is setting as : source: /myfolder/abc.jar. After running the job it is copying the jar inside the myfolder on my target location. Could you please assist me how to mention source location path.

---

<div class="post-metadata">

**Author:** ![ashwilliams1](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/ashwilliams1/32/5549_2.png) [@ashwilliams1](https://drone.discourse.group/u/ashwilliams1)\
**Post date:** [May 21, 2020, 5:45pm UTC](https://drone.discourse.group/t/not-able-to-copy-jar-from-drone-cloud-to-dev-server-another-server/8913/4 "2020-05-21T17:45:08Z")

</div>

unfortunately I cannot provide support for this third party plugin since I did not create it, nor do I use it personally. However, you might consider reaching out to the plugin author, [appleboy](https://github.com/appleboy), and contacting them through his GitHub [repository](https://github.com/appleboy/drone-scp).
