2018 up to now | 2017 | 2016 | 2015 | 2014 | 2013 | 2012

Mailing List - Entries of 2012


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] How copy a distant file with scripts?


  • Subject: Re: [QF-Test] How copy a distant file with scripts?
  • From: Josh Huber <joshua.huber@?.gov>
  • Date: Mon, 22 Oct 2012 12:27:32 -0400

What I have done is create a script to do the action and write the output to a file and then use the qfs.qft readFromTextFile procedure to read in the information to the test-suite.

Joshua Huber
NTT Data Federal Services, Inc.
M: 301-938-2886
O: 301-495-2224
F: 301-495-2260

On Oct 22, 2012, at 12:02, MEVEL Clement <Clement.MEVEL@?.com> wrote:

Hello all,

 

In my project I need to retrieve various files from the server to analyze them with QFT. I am working on how I can get them from the server.

I didn’t succeed with scp since the module is not recognized in the Jython script embarked in QFT.

I tried then the following script:

import os

 

os.system(scp USER@SERVER:/SERVER_FILE_PATH   LOCAL_FILE_PATH)

The command is well interpreted but the password is required to finalize the connection and I don’t know how I can pass it.

 

Any ideas?

_______________________________________________
qftest-list mailing list
qftest-list@?.de
http://www.qfs.de/mailman/listinfo/qftest-list