Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

File copy from Windows to Unix

I am trying to copy my build output files from my build machine -which is a windows server to unix server.

Right now i am copying using pscp utility,but the password encryption is not working as windows commands cannot identify the encrypted password in the BF environment variable.

Is it possible to copy from windos to unix using .put command?

I have tried like this

.put/E test.txt TARGET_SERVER:/home/myid

But then the selector for the above command is windows,and the step is failing.

Please Help..

0 votes



2 answers

Permanent link
What about just map your Unix path as a Windows drive? Will it be easier?

0 votes


Permanent link
 What is the error?  It could be:
http://www-01.ibm.com/support/docview.wss?uid=swg21647294

~Spencer

0 votes

Comments

I am trying like this in my buildforge step

.put/E pscp.txt <Target server>:/home/myid

(I have pscp.txt in my windows server and the selector for this step is windows server selector.

The unix selector name is the Target Server)

The result is like this

9   4/22/15 5:55 AM     READ    Read of C:\test\pscp.txt complete.
10  4/22/15 5:55 AM     WRITE   can't open /home/myid for write.
11  4/22/15 5:55 AM     RESULT  4

 The path /home/myid is relative to the build agent sandbox.  It looks like you are trying to put a file to /home/myid, as opposed to /<bfagent working dir>/home/myid.


~Spencer

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

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

By RSS:

Answers
Answers and Comments
Question details

Question asked: Apr 23 '15, 3:07 a.m.

Question was seen: 3,564 times

Last updated: Apr 24 '15, 9:05 a.m.

Confirmation Cancel Confirm