I just tested the files for OFW and I drew the following conclusions, I think you should know this but I will say it anyway.
1- HAN and DEBUG influence the download, when DEBUG is activated it is not possible to download signed packages and vice versa.
I did not know that, as im on CFW which is patched for both, thankyou for testing, I need more feedback from HAN users as its not something i use myself. So any info there is fine especially if it behaves differently to CFW.
I did notice that pkgs get a different icon when downloading, so i knew it was recognizing them, but the error is the same when downloading to dev_hdd0 paths. They download perfectly to usb on CFW.
2 - Possible extension check for dev_hdd0, I noticed that when downloading to this partition when finished it does a check, but it is strange because on the pendrive it seems to do a check but the full 100% download.
Yes, could be, but then why do dev_flash2 and dev_blind work, ok i can understand dev_blind, as its a custom name. That actually gives me an idea,
@aldostools, can you add mounting to webman if possible, It would be great if i could mount dev_hdd1 (multiman only seems to mount it when its open, unmounts when it closes). Also can we then mount dev_hdd0 with a different name, as that might get around this check that is deleting files. If we could mount as different name, and then i change all the paths in download_list.xml, we might have solved this already, with minimal effort, and it would work on HAN too as i think they can mount dev_blind too.
3 - wanted to know if the downloads made from PSN have some different treatment from the general donations made by the browser and if it would be possible to take that same treatment to the browser.
So yes, you are correct, certain file types are treated differently. and that is interesting that pkg signing effects your downloads on HAN. So that means pkgs are not treated like normal downloads even when downloaded like this with custom paths. I can patch that check out of the sprx on CFW no problem. Not sure if HAN can have that patch in RAM though. You will have to wait and see what is possible on CFW first, maybe some stuff will make its way to HAN later once its perfected.
@everyone : Actually there are some interesting patches to be done in this area with the special files. Not sure exactly how to do it yet, any suggestions welcome.
I have a bit of a list of some of the unusual ones that can be used to our advantage. One issue is that we get an error if the path does not exist, 80023320. So the folders added in the download_list.xml need to exist to be used. There are exceptions.
sbk and sb2 files:
These DO give the option of a file path although it creates sub folders, but these do not allow you to browse USB for folder like normal. These would only normally be allowed onto PSPs which took me a while to figure out, mostly because i had to find my PSP charger that took ages.
Anyway with the modified download_list.xml sbk and sb2 are allowed everywhere including USB/HDD/Flash. but when you download one of these, it automatically creates a MSSSJ/GUIDE folder on your selected path. This is set up for the PSP x-radar thingy (@thanks
@kozarovv) . We can exploit this to our advantage, as this is one of the only ones that creates its own folder. This means we can use this for PS3/UPDATE/ for example if we select the root of a drive as path, so when downloading a PUP, we can have it automatically create a PS3/UPDATE folder under that,
OR we can have it automatically create a dev_hdd0/updater/01 folder by selection the root of dev_hdd0 maybe. This is a really useful hack IMO, and will be in my Rebug REX MOD
p3t files:
These automatically get downloaded to dev_hdd0/theme/ (you get no options for path or background downloading even though they are going to dev_hdd0, this is unusual because unknown file types to dev_hdd0/theme/ can have background downloads. So .p3t is treated differently. So we can exploit this, by hard coding one specific file type to be handled in a special way with no options. There is no point having that wasted on themes, when we can download themes like standard unknown file types and download them to dev_hdd0/theme manaully from the list of locations. I am not sure how i am going to exploit this yet but its definitely useful to have.
mnv files:
These are special too, See here
https://fileinfo.com/extension/mnv . These are special because I think these can be set up to use videodownloader_plugin.sprx (does not exist in new FW normally), so we can maybe exploit this by having one special file type of our choosing, that is handled by a completely separate patched download plugin. This would be handled by mimetypes.xml most likely, more research needed, @lmn has done some.
pkg files
I did not know these had special checks until now, but i could see they were on the list of special extensions here, so i suspected there was something.
There are more areas with special extensions, but these ones are all together, and extra special for the reasons above.
XML files and text files:
These are treated differently becuase they are rendered by the browser normally. It seems it has support for downloading xmls somewhere, but the PS3 is giving the error that indicates the path does not exist. More research needed here.
PSP and PS3 Updates:
These seem to have support for being treated differently, with hard coded paths, BUT they seem to be treated just exactly like unknown files, they do not have folder created, and they do not go into the referenced folder if it exists. So i suspect this was somethign that had support, but has been disabled. Maybe its possible to enable these, having it so PUP got renamed and put into correct folder automatically would not be a bad idea if its possible. Maybe they have to have the correct name already, I don't know as its not working.
Media file types:
These have their own list of file types, and are treated differently completely as we know. These get added to the database etc, but it seems the checks are not very good, as we can fool the PS3 into treating other file types like videos for example, with FULL copy support to and from the dev_hdd0.