unioslo / tsd-api-client

Command line client for the TSD HTTP API
BSD 3-Clause "New" or "Revised" License
13 stars 5 forks source link

Feature request: `tacl --upload` with http/https path #142

Open oyvinev opened 5 months ago

oyvinev commented 5 months ago

I find myself in the situation quite often where I want to upload a file that is available online, often related to third-party tools.

It would be very nice to have a feature to avoid downloading the file to disk first.

For example:

tacl --upload https://example.com/my-file.tar.gz pXX

instead of

wget https://example.com/my-file.tar.gz
tacl --upload my-file.tar.gz

This is especially useful for larger files, if the file could be streamed, and avoid disk usage altogether.