Comments (3)
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.
-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.
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)
- It is impossible to reference an ftp session via a local tuple HOT 6
- ftp can not -get a filename from a tuple, making it much less useful in scripts HOT 9
- eval does not handle longs, and wraps on signed 32-bit integer boundary HOT 1
- Add -escape and -unescape dash-commands for string command HOT 1
- rs command needs attention HOT 2
- Screenshots HOT 2
- Threads fail to access tuples if there was a local tuple in the call stack with the same name HOT 17
- subsystem command does not populate subsystem attributes without a refresh HOT 4
- gensh allowing variable input to glob HOT 11
- msgq fetches all messages 1000 times HOT 3
- Missing nested include causes system exit
- server command coverage in test suite
- More convenient handling of SSL/TLS
- Calljava doesn't appear to work with arguments when class accepts an interface HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ublu.