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
Percy7mo ago
Project ID: N/A
0xkavango
0xkavango7mo ago
N/A
Solution
Fragly
Fragly7mo ago
You'd just make some code to read every file in the disk, and display it
0xkavango
0xkavango7mo ago
Can I view those files in console?
Brody
Brody7mo 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
0xkavango7mo ago
debugging. Our server feeds too much memory and those files can help me to understand what is going on
Brody
Brody7mo ago
what kind of files if I may ask?
0xkavango
0xkavango7mo ago
json
Fragly
Fragly7mo ago
Based
Brody
Brody7mo ago
do you not see this problem locally?
0xkavango
0xkavango7mo ago
no
Brody
Brody7mo ago
what kind of app/server is this
0xkavango
0xkavango7mo ago
Brody, I have a question - how can I view those files?
Brody
Brody7mo ago
fragly answered that already
0xkavango
0xkavango7mo ago
So, I should make some code?
Adam
Adam7mo ago
yes
0xkavango
0xkavango7mo ago
This means - you don't have a way to view disk space?
Brody
Brody7mo ago
correct
0xkavango
0xkavango7mo 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
Brody7mo ago
people have asked for ssh before but in my opinion your usecase of debugging memory should be built into your app
0xkavango
0xkavango7mo ago
Cool! Can I have ssh?
Brody
Brody7mo ago
railway does not offer ssh
0xkavango
0xkavango7mo ago
Is it a part of politics, or just haven't implement yet ?
Brody
Brody7mo ago
it doesn't really fit the usecase of empherial deployments
0xkavango
0xkavango7mo ago
I see. OK, thank you for your answers!
Brody
Brody7mo ago
no problem!