Giter VIP home page Giter VIP logo

Comments (3)

jwoehr avatar jwoehr commented on July 19, 2024

The ftp command is broken in a couple of ways in that it is partly broken in JTOpen itself. But I think if you use the -to localfilepath dashcommand or -tofile ~@{localfilepath} it will work.

from ublu.

Taywee avatar Taywee commented on July 19, 2024

-tofile would probably work. I didn't see that one. I think I tried -to and it just redirected the text output of the command (eg. the "226 File transfer completed successfully." text). As -tofile covers it, I'll close this issue. It's not the ideal default behavior, but it shouldn't cause too many problems, as most interactive use will probably use relative paths (or just an FTP program) and most scripted use should use -tofile anyway.

from ublu.

jwoehr avatar jwoehr commented on July 19, 2024

The -tofile and -to dichotomy arises from the fact that -to interprets a tuple as a the user wanting the output in a tuple. It interprets different forms as different types of datasinks. -tofile means "any way I provide the arg, I mean a file". The way I coded FTP (shudder) is that if -to points to a file datasink, the output file is set to that. Other than that, -to redirects the text output of the command. Ugh. Try -tofile and see if it works.

from ublu.

Related Issues (15)

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.