This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Changing name of a file located on remote server

 
Yogendra Singh Butola
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to automate the build process on my dev environment. For which I've to do the following steps:
1. Dowload the EAR from AntHillPro.
2. Rename the existing ear with a new name on my Remote server. For backup use only.
3. Uploaed the downloaded ear in step 1.

I'm not facing any issue with steps 1 and 3. However with step 2, I'm not able to rename the ear file located on the remote server.

I searched the net and didn't found a way to do this.

For uploading I'm using SCP task.

Any kind of help will be highly appreciated.

Thanks
Yogi
 
Peter Johnson
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use ssh to run a remote rename command.
 
Yogendra Singh Butola
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks I got it done !!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic