Uploading a folder not working
Coko7 opened this issue · comments
Hi,
When I try uploading a file or multiple files, it works well.
But when I try to upload a folder, it seems to be working at first:
But then, I get this:
I get that I can simply zip the folder or upload all files separately, but I am wondering why direct folder does not seem to work. Is it a problem with my installation, or is this not supported yet? I am curious.
For context, I am running as a Docker container with the following config:
DETECT_BASE_URL=false
BASE_URL=https://send.example.com
REDIS_HOST=localhost
FILE_DIR=/uploads
MAX_FILE_SIZE=5368709120
EXPIRE_TIMES_SECONDS=300,1800,3600,86400,604800
DEFAULT_EXPIRE_SECONDS=300
CUSTOM_FOOTER_TEXT=Private instance of send by Tim Visée
CUSTOM_FOOTER_URL=https://timvisee.com/
I checked the logs as well, but there was nothing.
Hi! Uploading folders is not supported. It should in fact not be possible to 'select' a folder like you have above, so that may be considered a bug. I cannot reproduce this locally though.
You're correct that if you want to upload a folder, you have to compress it into a single archive first.
Hi! Uploading folders is not supported. It should in fact not be possible to 'select' a folder like you have above, so that may be considered a bug. I cannot reproduce this locally though.
You're correct that if you want to upload a folder, you have to compress it into a single archive first.
That makes sense. Then, the fact that we can select an entire folder is probably a bug. Thanks!