Code Monkey home page Code Monkey logo

Comments (5)

remram44 avatar remram44 commented on July 23, 2024

The get() function does block until the transfer is finished, so you might want to look deeper into the issue you are (were?) experiencing?

The SCP protocol doesn't support copying between servers (contrary to FTP, which you might want to consider).

from scp.py.

telina avatar telina commented on July 23, 2024

I'm sorry I checked the code and found that aswell. It was another issue on my side, which I wasn't able to see first.

Nevertheless copying between two remote machines would be a great feature :P

from scp.py.

remram44 avatar remram44 commented on July 23, 2024

The SCP protocol doesn't support that, so there's nothing this library can do. You can check out FTP server-to-server, which requires an FTP server on both ends but actually transfers the file directly (no data is sent to/from client).

from scp.py.

telina avatar telina commented on July 23, 2024

Well this works under Unix http://superuser.com/questions/686394/scp-between-two-remote-hosts-from-my-third-pc
I am just disappointed about some Python libraries not being as powerful as the usual bash commands (for example ssh -X).

from scp.py.

remram44 avatar remram44 commented on July 23, 2024

The data still transits on the client. The protocol simply doesn't support server-to-server.

I agree that there should be a way to do this without writing then reading back from the filesystem; I'll add an issue for this.

(correction: this is pretty much #70)

from scp.py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.