![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
robotframework-scplibrary
Advanced tools
Robot Framework test library for transferring files via Secure Copy (SCP)
|PyPI version| |PyPI license| |PyPI pyversions|
This library can be used to copy files to and from a remote machine using Secure Copy (SCP). It uses the Paramiko SSH Python library (just like robotframework-sshlibrary) and an SCP wrapper (‘scp’ by James Bardin).
The library does not currently support Jython or IronPython at this time.
This library may be installed via PyPI or from the source distribution. To install using pip, run:
::
pip install robotframework-scplibrary
To install from the source distribution, download the repo archive and extract the source and run:
::
python setup.py install
.. code::
*** Settings *** Library SCPLibrary
*** Test Cases *** Grab Files From My Server Open Connection 192.168.1.42 username=tyler password=teapot Get File remotefile.txt localfile.txt Get File /home/tyler/ mytylerdir/ recursive=True Close Connection
Put File On My Server Open Connection 192.168.1.42 username=tyler password=teapot Put File mytea.txt /home/tyler/ Close Connection
Before files can be transferred, a connection to remote machine must
first be made. A connection can be made with the Open Connection
keyword. Both normal username/password authentication and asymmetric
key-pair authentication may be used.
Connections should be closed using the Close Connection
keyword when
they are no longer in use.
Files and directories can be uploaded to the remote machine using the
Put File
or Put Directory
keywords or downloaded to the local
machine using the Get File
keyword.
A connection must be made using the Open Connection
keyword before
file transfers may be made.
.. |PyPI version| image:: https://img.shields.io/pypi/v/robotframework-scplibrary.svg :target: https://pypi.org/project/robotframework-scplibrary/
.. |PyPI license| image:: https://img.shields.io/pypi/l/robotframework-scplibrary.svg :target: https://pypi.org/project/robotframework-scplibrary/
.. |PyPI pyversions| image:: https://img.shields.io/pypi/pyversions/robotframework-scplibrary.svg :target: https://pypi.org/project/robotframework-scplibrary/
FAQs
Robot Framework test library for transferring files via Secure Copy (SCP)
We found that robotframework-scplibrary demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.