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

Unable to read push files #2385

Closed
Abhishek0237 opened this issue Jul 31, 2024 · 11 comments
Closed

Unable to read push files #2385

Abhishek0237 opened this issue Jul 31, 2024 · 11 comments
Labels

Comments

@Abhishek0237
Copy link

Hey!
I hope you are doing well!

We have just enabled file pushes and are using local storage for uploads. We have mapped the drive on a Windows computer using Samba but whenever the client uploads the files. It doesn't show any file extensions. We cannot determine which kind of file clients uploaded like it excel,png or any other file.

Please find the below screenshot

issue

@pglombardo
Copy link
Owner

pglombardo commented Jul 31, 2024

Hi @Abhishek0237 - that is by design. What is the use case? Why would you need to see the files?

If you don't mind me asking...

@Abhishek0237
Copy link
Author

The thing is suppose the client takes the screenshot of any information and sent us as an image(png) file instead of properly write in the world or notepad file. How we can know at first seen either it is just image file or it's proper document. because we don't want to bother the client again and again.

I know we can open files with the browser to see the content but I think it's not practical

@pglombardo
Copy link
Owner

Ah ok - yeah that is outside the use case for Password Pusher. By design files are obscured for security. Currently, the only way is to view the push and download the files locally.

Of course, you could automate this with the JSON API to automatically download files and place them somewhere on the samba drive...

@Abhishek0237
Copy link
Author

Is Admin can see the file on Secret Portal?

@pglombardo
Copy link
Owner

Unfortunately no.

How we can know at first seen either it is just image file or it's proper document. because we don't want to bother the client again and again.

I don't understand why you would need to bother the client again and again. You view the push, and it tells you what type of file it is and shows the file name. From there you can download the files. Am I missing something?

@Abhishek0237
Copy link
Author

on local storage, it's not showing what type of file it is that's why i', asking

@Abhishek0237
Copy link
Author

One thing more @pglombardo Can we increase file size for file pushes and what is the default size?

@Abhishek0237
Copy link
Author

no worries I have adjusted nginx for file size

@Abhishek0237
Copy link
Author

One last question I have there Please can we check on "Use a 1-click retrieval step" by default

@pglombardo
Copy link
Owner

One last question I have there Please can we check on "Use a 1-click retrieval step" by default

The docs on setting the default for that option is here. You can set the environment variable (PWP__FILES__RETRIEVAL_STEP_DEFAULT=true) or modify the setting in your settings.yml.

@pglombardo
Copy link
Owner

Closing. If anything remains, feel free to open another issue!

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

No branches or pull requests

2 participants