Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploading a folder not working #180

Open
Coko7 opened this issue Sep 26, 2023 · 2 comments
Open

Uploading a folder not working #180

Coko7 opened this issue Sep 26, 2023 · 2 comments

Comments

@Coko7
Copy link

Coko7 commented Sep 26, 2023

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:
image
But then, I get this:
image
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.

@timvisee
Copy link
Owner

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.

@Coko7
Copy link
Author

Coko7 commented Oct 16, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants