2017 up to now  | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2012


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

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


  • Subject: [QF-Test] How copy a distant file with scripts?
  • From: MEVEL Clement <Clement.MEVEL@?.com>
  • Date: Mon, 22 Oct 2012 16:02:06 +0000

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?