view disk files

Hi! I would like to see files created by my deployed application. How I could do this?
Solution:
You'd just make some code to read every file in the disk, and display it
Jump to solution
27 Replies
Percy
Percy13mo ago
Project ID: N/A
0xkavango
0xkavangoOP13mo ago
N/A
Solution
Fragly
Fragly13mo ago
You'd just make some code to read every file in the disk, and display it
0xkavango
0xkavangoOP13mo ago
Can I view those files in console?
Brody
Brody13mo ago
if you print them to stdout you can view them in the deployment logs. but let's dig into this, what is the usecase for seeing the files in the disk?
0xkavango
0xkavangoOP13mo ago
debugging. Our server feeds too much memory and those files can help me to understand what is going on
Brody
Brody13mo ago
what kind of files if I may ask?
0xkavango
0xkavangoOP13mo ago
json
Fragly
Fragly13mo ago
Based
Brody
Brody13mo ago
do you not see this problem locally?
0xkavango
0xkavangoOP13mo ago
no
Brody
Brody13mo ago
what kind of app/server is this
0xkavango
0xkavangoOP13mo ago
Brody, I have a question - how can I view those files?
Brody
Brody13mo ago
fragly answered that already
0xkavango
0xkavangoOP13mo ago
So, I should make some code?
Adam
Adam13mo ago
yes
0xkavango
0xkavangoOP13mo ago
This means - you don't have a way to view disk space?
Brody
Brody13mo ago
correct
0xkavango
0xkavangoOP13mo ago
Than you for your answer, but I am surprised. I can run my server, but can't see its cache to debug its responses Am I the first one who asks such a feature?
Brody
Brody13mo ago
people have asked for ssh before but in my opinion your usecase of debugging memory should be built into your app
0xkavango
0xkavangoOP13mo ago
Cool! Can I have ssh?
Brody
Brody13mo ago
railway does not offer ssh
0xkavango
0xkavangoOP13mo ago
Is it a part of politics, or just haven't implement yet ?
Brody
Brody13mo ago
it doesn't really fit the usecase of empherial deployments
0xkavango
0xkavangoOP13mo ago
I see. OK, thank you for your answers!
Brody
Brody13mo ago
no problem!
Want results from more Discord servers?
Add your server