WebMAN-MOD pkg handling commands

Here is another update.
You can use the link from post #15.

This time the syntax overhaul is complete.
More bug fixes as well.
Next release will include URL check before download.


Final syntax of /download.ps3:
hxxp://<ps3-ip-address>/download.ps3?to=<storage-path>&url=<file-url> using the optional "to" parameter.
hxxp://<ps3-ip-address>/download.ps3?url=<file-url> which defaults to /dev_hdd0/packages for storage path.
The /install.ps3 command is unchanged:
hxxp://<ps3-ip-address>/install.ps3<pkg-file-path>

Enjoy...

@aldostools
The source is most likely coming with the next release! :cheerful:

Thanks so much for this very usefull commands. It's longue time I'm waiting for this
Possibles applications are multiple, appear to me. I will have some tests asap
Maybe possible to add commands to xml code and using local... Deliver sévérals options as download=copy/past + install files. I'm thinking about Backup files and much more.
Do you think is there a way for ISO regarding dev_hdd0/PS3ISO/ + mounted with webMAN launcher present in the package ? It would be great
 
While the commands have been included in 1.43.31, there may still be some need for improvement so I keep this thread open for the moment. [emoji5]️
The only feature originally planned & not yet implemented is an optional parameter for the download command. When the downloaded file is a pkg, the parameter would indicate whether to launch direct installation after pkg download or not.
I have not yet found how to call the original xmb download/install process however, that would be the best way by far.
If I can't find it I will reluctantly look for a workaround in code....

@0_obeWAN
Am glad you like it.
Sure, there are many ways to exploit the new commands including adding links to xml. Automated downloads/local install, or remotely from another device, even via combo. It's also possible to use in a self including url_launcher.
Can you explain in detail what you wish to do with iso?

Sent with Tapatalk
 
Last edited:
While the commands have been included in 1.43.31, there may still be some need for improvement so I keep this thread open for the moment. [emoji5]️
The only feature originally planned & not yet implemented is an optional parameter for the download command. When the downloaded file is a pkg, the parameter would indicate whether to launch direct installation after pkg download or not.
I have not yet found how to call the original xmb download/install process however, that would be the best way by far.
If I can't find it I will reluctantly look for a workaround in code....

@0_obeWAN
Am glad you like it.
Sure, there are many ways to exploit the new commands including adding links to xml. Automated downloads/local install, or remotely from another device, even via combo. It's also possible to use in a self including url_launcher.
Can you explain in detail what you wish to do with iso?

Sent with Tapatalk

The idea is
1/ Support .iso extention file
2/ Download in dev_hdd0/PS3ISO/ (if recognise .iso extension) or manually give path
3/ Mounting when file has been downloaded instead installing PKG (feature is present in webMAN Launcher) but don't know if this is possible to do as command line (like in wm_request exemples)

Hope is more clear for you, excuse my realy poor english, I'm note native
 
The idea is
1/ Support .iso extention file
2/ Download in dev_hdd0/PS3ISO/ (if recognise .iso extension) or manually give path
3/ Mounting when file has been downloaded instead installing PKG (feature is present in webMAN Launcher) but don't know if this is possible to do as command line (like in wm_request exemples)

Hope is more clear for you, excuse my realy poor english, I'm note native
Well for webMAN-MOD to do this, it would require the workaround I spoke of in my previous post. Being able to launch an install after the download finishes or to mount an iso is basically the same process.

For now, iso is already supported for download. I have not restricted the download command to pkg files. It works with any file I tried, even without extension.

Sent with Tapatalk
 
Last edited:
Doesn't work for me with Dropbox :(
I try
Code:
http://192.168.2.5/download.ps3?url=https://dl.dropbox.com/s/z1l01svk45vycid/Cobra%207.20%20updater%20CEX-DEX.pkg
Report
Downloading: https://dl.dropbox.com/s/z1l01svk45vycid/Cobra 7.20 updater CEX-DEX.pkg To: /dev_hdd0/packages/

But no package downloaded
Is my code wrong ?

Could you try with a link without spaces?... it seems that the URL decoder of the web command parser is affecting the URL parameter.

As you can see the reported url doesn't have the %20 corresponding to the spaces.
 
Doesn't work for me with Dropbox :(
I try
Code:
http://192.168.2.5/download.ps3?url=https://dl.dropbox.com/s/z1l01svk45vycid/Cobra%207.20%20updater%20CEX-DEX.pkg
Report
Downloading: https://dl.dropbox.com/s/z1l01svk45vycid/Cobra 7.20 updater CEX-DEX.pkg To: /dev_hdd0/packages/

But no package downloaded
Is my code wrong ?

Also to use a direct Dropbox link you need to add ?dl=1 at the end of the url otherwise it goes to the Dropbox download page.

Aldo is right of course, spaces are never a good idea in urls. Replace with an underscore or something...
Sent with Tapatalk
 
Also to use a direct Dropbox link you need to add ?dl=1 at the end of the url otherwise it goes to the Dropbox download page.

Aldo is right of course, spaces are never a good idea in urls. Replace with an underscore or something...
Sent with Tapatalk

I just tested with a build that bypasses the url decoding and added ?dl=1 but I get error 80710A06. Is it because I'm on 4.46 without PSN?

This is the test build that I used:
http://aldostools.org/temp/test/webftp_server_full.sprx

Now I get this on the web:
Code:
Downloading: https://dl.dropbox.com/s/z1l01svk45vycid/Cobra%207.20%20updater%20CEX-DEX.pkg?dl=1 To: /dev_hdd0/packages/

This is what ps3devwiki says about error 0x80710a06
CELL_HTTPS_ERROR_HANDSHAKE0x80710a06SSL Connect Handshake error, or SSL certificate verification failed
 
I just tested with a build that bypasses the url decoding and added ?dl=1 but I get error 80710A06. Is it because I'm on 4.46 without PSN?

Now I get this on the web:
Code:
Downloading: https://dl.dropbox.com/s/z1l01svk45vycid/Cobra%207.20%20updater%20CEX-DEX.pkg?dl=1 To: /dev_hdd0/packages/
I have been using Dropbox links for my testing so I can guarantee they can be used.
As to 4.46, it may be the reason..
Am going home now & will look into it right away. Just give me a small hour...

Sent with Tapatalk
 
Last edited:
This is what ps3devwiki says about error 0x80710a06
CELL_HTTPS_ERROR_HANDSHAKE0x80710a06SSL Connect Handshake error, or SSL certificate verification failed

Is pre 4.66 firmware error. Was related to poodle ssl/tls attack, and can be bypassed by patching vsh.
More: http://www.psx-place.com/threads/tut-how-to-spoof-ps3-firmware-cex-dex-rex-d-rex-ita-cobra.2658/ fourth tab
http://www.psx-place.com/threads/de...ex-rex-d-rex-ita-cobra.2656/page-2#post-20508

You get that error on most https connections in every 4.65 and lower fw, until you patch vsh.elf
 
It may be possible to use http with Dropbox instead of https if I remember correctly.

SSL support is better with cfw > 4.65... But it's still dodgy though... [emoji6]

PSN is NOT a requirement for downloading btw.
However the command was not designed to work in-game which might be a problem when using irisman or multiman's browser...

Sent with Tapatalk
 
Last edited:
Ok I just checked my Dropbox links.

1. You can use both http or https, it makes no difference.
2. ?dl=1 at the end of the url is mandatory.
3. The url can begin simply with
hxxp://dropbox.com/

Sent with Tapatalk
 
Ok I just checked my Dropbox links.

1. You can use both http or https, it makes no difference.
2. ?dl=1 at the end of the url is mandatory.
3. The url can begin simply with
hxxp://dropbox.com/

Sent with Tapatalk

I've updated the source code in github. It's only a code optimization in pkg_handler.h (no new features).
 
@aldostools
There's a new bug that appeared after the last code optimisation commit.
The download command doesn't work anymore. HTTP1.1 is wrongly appended to the url..... It shows in the pop-up message & in the return Webpage; of course the download fails.

Sent with Tapatalk
 
Last edited:
@bguerville
Is background downloading meant to be working properly, Im on Rebug 4.80 REX and the latest Full WMM 1.43.35 (not a test build)? Its possible I'm doing something wrong. When I don't use the background download function my package downloads and is available for install from the HDD, working perfectly.

But if I download the same file and then select background download my file is not appearing after its finished downloading, I get the initial message to say the destination is dev_hdd0/packages (and I do see it in download management as it downloads), But when its finished I get a debug message saying "go to [Game]" to install it, "Save destination : Game", and then I cant find the pkg. Any idea? I know my code is good as it works without background download.
Code:
http://127.0.0.1/download.ps3?url=http://xmbmods.co/XMBPD/packages/managers/Gamesonic-Manager-3.92.pkg
 
Last edited:
@bguerville
Is background downloading meant to be working properly, Im on Rebug 4.80 REX and the latest Full WMM 1.43.35 (not a test build)? Its possible I'm doing something wrong. When I don't use the background download function my package downloads and is available for install from the HDD, working perfectly.

But if I download the same file and then select background download my file is not appearing after its finished downloading (I do see it in download management as it downloads) and I get the initial message to say the destination is dev_hdd0/packages, But when its finished I get a debug message saying "go to [Game]" to install it, "Save destination : Game", and then I cant find the pkg. Any idea? I know my code is good as it works without background download.
Code:
http://127.0.0.1/download.ps3?url=http://xmbmods.co/XMBPD/packages/managers/Gamesonic-Manager-3.92.pkg
Background downloading can only be initiated manually & it works fine AFAIK however you won't find a bubble to install the pkg if it's what you are looking for.
It is possible to implement though.

Have you looked in the PSN downloads section in Package Manager or XMBM+?

Sent with Tapatalk
 
Background downloading can only be initiated manually & it works fine AFAIK however you won't find a bubble to install the pkg if it's what you are looking for.
It is possible to implement though.

Have you looked in the PSN downloads section in Package Manager or XMBM+?

Sent with Tapatalk

Yeah I think im doing it right, And it doesn't seem to working. I know it needs to be initiated manually and I wasn't looking for a bubble, like I say if don't hit the background download button I can find my package every time in "PS3 System Storage". I have checked PSN Downloads just incase but no luck.

Just did some more tests, if I don't select background download it will just overwrite the package if it already exists in the folder, perfect, but if I select background download it will actually delete the package from the folder on completion of the download, if it already exists.

Also a small separate bug I noticed, if you cancel the download it leaves the partial file in place, a corrupt pkg.

All in all its working good though, Nice one. Ive got some plans for it ;) Hopefully these little bugs can be squashed.
 
Back
Top