-
Notifications
You must be signed in to change notification settings - Fork 41
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
Uploaded text downloads as STDIN #54
Comments
Hi, |
Just so I can get some clarification : You never want to display the file in browser ? Always download ? Or is that some special case for just files uploaded from stdin ? |
I was talking about only the text upload when you write stuff in the field. The new function where you can set how it will display it is awesome btw (It could simply solve this one too) its just a little confusing when you can set those to file uploads too. (I can imagine users setting it to display a pdf as markup for example hence my other issue #58 ) I will check out what you wrote to #58 and try to add it like you explained (never programmed before :) ) |
Maybe I could just add an option in the upload form to say "this is a file named xxx and I never want it to be displayed in the browser" ? In such a case, I could add a field in the database and prevent the formatting (syntax highlighting, line numbers and theme) when the upload is completed and when the file is retrieved ? I'll design a poc when I can and show it to you so you can validate if that fixes your use case 🤔 |
im not sure i understand. What i try to achieve is:
Im sorry if i misunderstood you |
Oh I see ! |
Oh i didnt know that. Cool sounds gr8 :) |
Yes I think. Just as when you upload from the command line, as there is no way for me to determine the name of the file you're trying to upload (since it's not a file but a stream), I name it stdin. |
Hello again i know i asked way back for this feature. But can we have an exeption so that files download as files (no browser open), but uploaded text still opens in the browser?
Turns out this feature is awesome for sharing passwords but its a bit problematic to explain ppl every time :)
Thanks for your hard work 👍
The text was updated successfully, but these errors were encountered: