FrostySo / Ps4-Pkg-Sender

Sends pkg files to your ps4 remotely
85 stars 12 forks source link

Cannot handle special characters #9

Closed dlxmax closed 3 years ago

dlxmax commented 3 years ago

Typically, if both the filename and the "title" have a ® or ™, the send fails with HTTP error 500. My workaround is to remove the character from the filename.

FrostySo commented 3 years ago

Typically, if both the filename and the "title" have a ® or ™, the send fails with HTTP error 500. My workaround is to remove the character from the filename.

Interesting. I didn't think they'd have such titles in the filename. That might actually explain why spiderman fails to install through it. Could you try rename the filename yourself and let me know if it works? I think RPI itself does not handle special characters, which causes the socket to eventually kill itself after a certain amount of bytes are sent over.

I can make it handle the special characters, but only if it works after renaming them. No point in doing that, if RPI itself stealth crashes while installing. Does this have a 100% success rate?

dlxmax commented 3 years ago

Yes, removing the special characters from the file name results in a good send. I've done this many times with different fpkgs.

FrostySo commented 3 years ago

Yes, removing the special characters from the file name results in a good send. I've done this many times with different fpkgs.

Ok, thanks!

I'll fix it sometime this week. When I get some free time to 😊

FrostySo commented 3 years ago

Just an update; I'm 80% done. Currently reworking a few things because I'm unpleasant with it.

So it might take a bit longer.

But when it's done, it will rename file on queue and rename it back after. This is for those people who like the naming to stay consistent (for ordering sake).

Hopefully it'll be done sometime within the next few days. But I am a bit busy, so no guarantees.

FrostySo commented 3 years ago

Hi again.

I know it's been a while. I've been a bit busy. It is finally finished though.

Please do note this though. File renaming is not supported with network drives. So you will have to manually rename them if it fails. It will tell you if it fails.

Release.zip

FrostySo commented 3 years ago

@dlxmax I will be closing this now. You can either re-open this or make a new issue if any other issues persist.