zelon88 / HRCloud2

A full-featured home hosted Cloud Drive, Personal Assistant, App Launcher, File Converter, Streamer, Share Tool & More!

Home Page:https://www.HonestRepair.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error uploading 3+ files at once.

zelon88 opened this issue · comments

It appears as though HRCloud2 has trouble handling 3+ file operations in some instances.

I'm working on it!

02a8269 takes a crack at fixing this by removing old code and updating the internal sanitization process of cloudCore.php with the sanititization performed by sanitizeCore.php. This seems to improve uploading multiple files under some circumstances.

I was able to upload 7x files of various formats with no issue, but those files did not contain special characters in their names. I was able to upload 5x files that contained special characters in their names but the repeatibility is low. I have not yet narrowed the exact cause.

Workin' on it! :)

As of 886ad00 multi file uploads with SIMPLE FILE NAMES are fully supported.

Filename sanitization was improved in the above commit, however it appears that the _ and - characters still cause issues. I am reluctant to limit their use because they are extremely valuable.

Currently files containing the _ or - characters in their names are supported only in single operations.

When combined with other files the reliability of an operation becomes unpredicable if a filename contains a _ or - character.

I will continue to improve upon the issue, but for most use-cases this should not pose a problem.

UPDATE!!!

The installation instructions were updated in commit 51ebe25.

Changed the Apache conf section setting from...
post_max_size = 12M
to...
post_max_size = 3000M

This took care of 100% if issue#12 for me, and enabled me to upload larger files than what I had been testing.