15 July 2022, 22:53 | #121 |
Registered User
Join Date: Oct 2021
Location: England
Posts: 1,237
|
Been using AGET a lot for my Work in Progress GUI for UHC Tools, adding support to download from sites UHC doesnt do via its CLI commands, i can search and download music now from Remix.KWED.org and AmigaRemix, however i have come accross a bit of a situation, not sure if its an issue with AGET or with "the interwebs" doing its thing.
Try the following: Code:
UHC:C/AGET "https://remix.kwed.org/download.php/6609/Dr%20Future%20-%20Space%20Harrier%20%28NAPAPBWPMIF%20Mix%29.mp3" to ram: Code:
Buffer size: 128kB Connected to remix.kwed.org:443 TLS/SSL connection using 'TLS_CHACHA20_POLY1305_SHA256' Sent GET request! Server response: 302 Found Redirecting to: https://remix.kwed.org/files/RKOfiles/Dr Future - Space Harrier (NAPAPBWPMIF Mix).mp3 Connected to remix.kwed.org:443 TLS/SSL connection using 'TLS_CHACHA20_POLY1305_SHA256' Sent GET request! https://remix.kwed.org/files/RKOfiles/Dr Future - Space Harrier (NAPAPBWPMIF Mix).mp3: 400 Bad Request if you manually add the missing % codes back into the redirected URL. Code:
uhc:c/aget "https://remix.kwed.org/files/RKOfiles/Dr%20Future%20-%20Space%20Harrier%20%28NAPAPBWPMIF%20Mix%28.mp3" to ram: Code:
Buffer size: 128kB Connected to remix.kwed.org:443 TLS/SSL connection using 'TLS_CHACHA20_POLY1305_SHA256' Sent GET request! Server response: 200 OK Receiving file: [o] 103.82kB received in 266ms - 390.01kB/s are the %20's, %28's etc being erased by AGET itself or is it getting the cleansed/broken link back as part of the redirect? |
16 July 2022, 10:14 | #122 |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 933
|
It is getting a cleaned redirect string from the server, see the Location header field returned:
Code:
$ curl -v "https://remix.kwed.org/download.php/6609/Dr%20Future%20-%20Space%20Harrier%20%28NAPAPBWPMIF%20Mix%29.mp3" * Trying 185.39.146.118... * Connected to remix.kwed.org (185.39.146.118) port 443 (#0) * TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 * Server certificate: remix.kwed.org * Server certificate: R3 * Server certificate: ISRG Root X1 > GET /download.php/6609/Dr%20Future%20-%20Space%20Harrier%20%28NAPAPBWPMIF%20Mix%29.mp3 HTTP/1.1 > Host: remix.kwed.org > User-Agent: curl/7.43.0 > Accept: */* > < HTTP/1.1 302 Found < Server: nginx/1.18.0 (Ubuntu) < Date: Sat, 16 Jul 2022 08:11:22 GMT < Content-Type: text/html; charset=UTF-8 < Transfer-Encoding: chunked < Connection: keep-alive < Permissions-Policy: interest-cohort=() < Location: /files/RKOfiles/Dr Future - Space Harrier (NAPAPBWPMIF Mix).mp3 < * Connection #0 to host remix.kwed.org left intact |
18 July 2022, 15:18 | #123 | |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 933
|
Quote:
Please give this updated version a try: http://megaburken.net/~patrik/pt/aget As a bonus, the following will now also work: Code:
aget "https://remix.kwed.org/download.php/6609/Dr Future - Space Harrier (NAPAPBWPMIF Mix).mp3" Buffer size: 128kB Connected to remix.kwed.org:443 TLS/SSL connection using 'TLS_CHACHA20_POLY1305_SHA256' Sent GET request! Server response: 302 Found Redirecting to: https://remix.kwed.org/files/RKOfiles/Dr Future - Space Harrier (NAPAPBWPMIF Mix).mp3 Connected to remix.kwed.org:443 TLS/SSL connection using 'TLS_CHACHA20_POLY1305_SHA256' Sent GET request! Server response: 200 OK Receiving file: 0% - [oooooooooooooooooooooooooooooooo] - 100% (9.84MB) 9.84MB received in 249.72s - 40.35kB/s |
|
18 July 2022, 16:24 | #124 |
Registered User
Join Date: Oct 2021
Location: England
Posts: 1,237
|
works perfectly, cheers \o/ So glad you can update UHC Tools and its components so damn quickly, now I can get back to making my GUI work better, with less bugs and with more website support.
[ Show youtube player ] Last edited by DisasterIncarna; 18 July 2022 at 16:49. |
19 July 2022, 10:50 | #125 |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 933
|
, I have updated uhc tools with the new aget version now.
|
19 July 2022, 13:08 | #126 |
Registered User
Join Date: Oct 2021
Location: England
Posts: 1,237
|
legend. \o/
|
20 September 2022, 12:49 | #127 |
Registered User
Join Date: Jun 2020
Location: Germany
Posts: 371
|
Hi, would it be possible to extend the installation script so that it can create some sort of portable installation?
We were talking about creating some sort of minimal essentials installer over at the UHC GUI thread and I came up with the idea to also put UHC and the GUI on a single disk which also does not necessarily needs a hard drive installation. My personal issue is that I want to provide as less (unpacked) software as possible on that disk. And when I was putting some thoughts into it, I figured that it would be enough to just provide lha.run and the UHC installer packages. Now the problem is that the UHC installer has a fixed path which is SYS:UHC. For my idea, I obviously can't just use that in case someone is using just a plain Workbench disk for example. So it would be great to have a way to extract it in the current dir or maybe set the path as argument, and also put the ENV files (in a subfolder) into the extracted UHC directory. And then instead of adding the lines into the user-startup, it puts it in its own file and obviously adds a line to copy the ENV files into ENV: . Which then can be started from the shell (script) or by using IconX or something similar. Then I could simply write a script to extract lha, either directly to a hard drive or disk, use lha to extract the UHC installer, and then execute the portable installation script. This would ensure that the files I need to provide are unaltered. And from there I can use AGET to download the UHC GUI and maybe some other stuff I probably could rewrite the installation script myself, but since it requires to fetch some files on its own, that seems to much work for me. Hmm, now that I think about it. How about the installer checks if there is already a UHC: assign? I assume that is how the uhcupdate script works (haven't looked at it). |
20 September 2022, 15:01 | #128 |
Registered User
Join Date: Jun 2015
Location: Umeå / Sweden
Posts: 266
|
The path to UHC isn't exactly hardcoded, when you run the installation script we add a check to S:User-Startup that checks for the ENV-variable UHCBIN and if that path exists we assign UHC: there and add paths to UHC:C and UHC:S
However the default path during installation is SYS:UHC and can't be changed until after installation. I guess we could make the installer take an argument for where it all should be installed instead of just defaulting to SYS:UHC since how it's currently working is a bit stupid. Almost all ENV-variables will be re-created if they are missing, the only important one IIRC is the UHCBIN-variable and that is easy to circumvent to just assign UHC: manually and add the paths manually and then everything would be working. But all in all, I think you could just manually fetch the uhctools_os3.lha-file from our servers, extract it where you want to, assign UHC: there, add paths to UHC:C and UHC:S and then everything should be up and running. |
20 September 2022, 16:44 | #129 |
Registered User
Join Date: Jun 2020
Location: Germany
Posts: 371
|
Thanks for the info, I will look into it.
Any recommendations on which server I should use to fetch the uhctools_os3.lha file? I really don't want to add some method of getting the mirrors first. Last edited by EctoOne; 20 September 2022 at 18:20. |
20 September 2022, 20:24 | #130 | |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 933
|
Quote:
|
|
20 September 2022, 22:30 | #131 | |
Registered User
Join Date: Jun 2020
Location: Germany
Posts: 371
|
Quote:
I just finished a script that points to one of your servers to fetch the uhctools_os3.lha file. I will see if I can insert the mirror part into it. |
|
23 September 2022, 01:30 | #132 |
Registered User
Join Date: Oct 2021
Location: England
Posts: 1,237
|
only just noticed on my cleaner/more basic OS3.1 setup that using the morphos readme script is requiring the use of AMISSL, is that normal/unavoidable?
|
23 September 2022, 09:04 | #133 | |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 933
|
Quote:
I used to run a http->https proxy on one of my servers for the access to www.morphos-storage.net, but I removed it recently when I was doing some cleaning of UHC Tools. Nowadays aget can do https:// and all MorphOS computers can run AmiSSL, so it made complete sense I think. However, please ask the people at www.morphos-storage.net to allow http, I see no point in the force-redirect on this kind of site. |
|
23 September 2022, 18:47 | #134 | |
Registered User
Join Date: Oct 2021
Location: England
Posts: 1,237
|
Quote:
|
|
24 September 2022, 13:49 | #135 |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 933
|
I have updated the error output of aget to state that what the reason is for attempting to open amisslmaster.library. This instead of just saying that it couldn’t open it.
|
24 September 2022, 21:22 | #136 |
Registered User
Join Date: Oct 2021
Location: England
Posts: 1,237
|
|
25 September 2022, 20:47 | #137 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,262
|
Hi patrik, UHC Tools installer on AROS x86 does not work nothing is downloaded !
|
25 September 2022, 23:43 | #138 |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 933
|
|
25 September 2022, 23:56 | #139 | |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 933
|
Quote:
But you will have to be more specific. For example, the output of the install script would be very helpful. |
|
26 September 2022, 09:34 | #140 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,262
|
Thank you patrik for responding, I attach a comprehensive video peak showing the problem.
https://eab.abime.net/zone/UHC-Tools.zip |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Looking for some basic IP tools en SDK tools | Roland007 | support.WinUAE | 0 | 28 November 2012 22:34 |
Tools | alexh | support.Hardware | 15 | 05 August 2010 23:27 |
What tools to use? | Zetr0 | GCA.Usefull Programs | 10 | 03 February 2009 23:52 |
Need a few tools | Phantomz | request.Apps | 6 | 22 November 2008 03:15 |
Tools? | Kada | project.Amiga Game Factory | 1 | 05 February 2008 09:58 |
|
|