Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scripting / Reusing connection support #16719

Open
ylazy opened this issue Dec 26, 2024 · 0 comments
Open

Scripting / Reusing connection support #16719

ylazy opened this issue Dec 26, 2024 · 0 comments
Labels
cli Command Line Interface

Comments

@ylazy
Copy link

ylazy commented Dec 26, 2024

Is your feature request related to a problem? Please describe.
Related Problem: #16714.

Describe the solution you'd like
I need to have a way to run multiple commands at once, without losing connection. I'm making an automation task that create a directory tree on the server if not exist, download a file, then upload some files. It takes ~1.5 minutes to complete because cyberduck has to connect / disconnect 15 times.

Describe alternatives you've considered
Please give us a way to reuse the connection. It can be scripting support:

duck --script path/to/script.txt

script content:

--mkdir ...
--mkdir ...
--mkdir ...
--mkdir ...
--mkdir ...
--mkdir ...
--download ...
--upload ...
--chmod ...

Or at least, support multiple tasks in one command:

duck --mkdir ... --mkdir ... --mkdir ... --mkdir ... --download ... --upload ... --chmod ...

But this will be restricted by the command line length limit.

Thanks!

@dkocher dkocher added the cli Command Line Interface label Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Command Line Interface
Projects
None yet
Development

No branches or pull requests

2 participants