2019 jusqu'à présent |  2018  2017 | 2016 | 2015 | 2014 | 2013 | 2012

Liste de diffusion - Entrées de 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: "Peter Kratzer (IT Consultant)" <esocontract@?.eu>
  • Date: Tue, 23 Oct 2012 11:47:41 +0200


in similar cases I add the following option to the ssh command:
-o BatchMode=yes

Prerequisite: the test user/host must be configured in the target's .ssh directory (known hosts, authorized keys) so that the login does not require a password. If this does not work the ssh command with the above option returns with an error message instead of waiting for password input.



On 22/10/2012 18:02, MEVEL Clement 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

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