-
Notifications
You must be signed in to change notification settings - Fork 17
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
Simpler procedure for installation of ascli on Windows #126
Comments
The
The installation of The typical, basic, installation on Windows is a documented 3 step procedure:
In any case, be aware that it's possible to prepare a single archive (zip) with all needed files, and then create a .bat file that automatically installs the components, I have documented here: You can find an example here: Extract the zip, and then execute install.bat : that will install ascli in the user's home under aspera-cli |
For macOS and Linux here are some single exec ascli: |
It turns out that the need on windows is the following: an in-house developped python script is used to send files using Faspex. Initially, it was used the
Using So, a good alternative, described here: https://github.com/IBM/aspera-cli#when-to-use-and-when-not-to-use in such case: in python, for a single task, is to use the API directly, basically 2 APIs:
The Faspex API is simply a REST API, which can be called using any HTTP library. The Transfer SDK API is a gRPC API, with stubs available in many languages. Transfer SDK consists in 2 executables:
One can find code examples here: https://github.com/laurent-martin/aspera-api-examples/tree/main/python For this precise case, take the code from: 1- faspex.py : this is the main code |
Some users have reported that the installation procedure for ascli on Windows is much more complex than the older CLI:
aspera
version 3.9aspera
was a single executable.The text was updated successfully, but these errors were encountered: