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

Bug when uploading a folder #268

Open
hugosxm opened this issue Mar 8, 2023 · 0 comments
Open

Bug when uploading a folder #268

hugosxm opened this issue Mar 8, 2023 · 0 comments

Comments

@hugosxm
Copy link

hugosxm commented Mar 8, 2023

Hi,

I'm searching a wetransfer alternative for my users, something self-hosted, and with a docker image that we can run on k8s. So i found psitransfer, and it is very cool !

I tested it and I really think it could fit for us, but i found a little flaw that i think it is worth mentioning !

Lets say you have a folder structure like this

PARENT / TOTO / file1
/ TATA / file1

And you drag and drop the PARENT folder to psitransfer, it will flat the files to file1 and file1 but after that if you try to download one of them you can't

log files :

psitransfer-psitransfer-1 | [Error: ENOENT: no such file or directory, open '/data/be7c62b0b94d/a484daaa-d6f4-4d25-b84f-fc3d7ab2952f'] { psitransfer-psitransfer-1 | errno: -2, psitransfer-psitransfer-1 | code: 'ENOENT', psitransfer-psitransfer-1 | syscall: 'open', psitransfer-psitransfer-1 | path: '/data/be7c62b0b94d/a484daaa-d6f4-4d25-b84f-fc3d7ab2952f' psitransfer-psitransfer-1 | }

The best solution would be to make psitransfer "folder aware", so it could be as "powerfull" as wetransfer while being less bloated and much cooler to use... But if this is too complicated, maybe juste add a check that throw a warning ?

Just wanted to share my little discovery and help a small amount to make that project perfect :)

Sorry english is not my first language

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

1 participant