Coder Social home page Coder Social logo

Are FTP transfers possible? about netdev HOT 3 CLOSED

selfuryon avatar selfuryon commented on September 20, 2024
Are FTP transfers possible?

from netdev.

Comments (3)

ajwillo avatar ajwillo commented on September 20, 2024 1

Thanks that works!

from netdev.

selfuryon avatar selfuryon commented on September 20, 2024

Hello!
Yes, it's possible! In your example may be a problem in an interactive command copy ftp. Do you have file prompt quiet applied? Can you post the output of this command from ssh?

from netdev.

selfuryon avatar selfuryon commented on September 20, 2024

Without file prompt quiet it seems to be like that:

TEST#copy ftp://user:[email protected]/test.txt flash:
Destination filename [test.txt]? <---- Ask you for filename
Accessing ftp://*****:*****@10.10.10.10/test.txt...

So you need to use interactive command like that:

out = await ios.send_command(copy_cmd, pattern=r'Destination filename', strip_command=False)
out += await ios.send_command(filename, strip_command=False)

Or more simple solution - enable file prompt quiet before copying any files :)

from netdev.

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.