Request for help

Asked by Satish

Respected sir/ madam,
                                I am building a website using streamlit by taking input from the website and then processing the data onto the terminal.

Example:
Steps:
1)File is uploaded on the website
2)Then that file is processed backend by commands from the terminal.

os.system("echo file")-This is working backend .But I am not able to take the input file from the web to the system.(I am unawre how to do this programatically)

Please help me hoe to take input fro the web to the backend and then start processing.

Regards,
Satish

Question information

Language:
English Edit question
Status:
Needs information
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

If you need help for using streamlit, then please ask at https://discuss.streamlit.io/

Revision history for this message
Satish (satishnewdelhi99) said :
#2

It is not related to streamlit

On Tue, Jan 24, 2023, 1:05 PM Manfred Hampl <
<email address hidden>> wrote:

> Your question #704522 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/704522
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> If you need help for using streamlit, then please ask at
> https://discuss.streamlit.io/
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/704522/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/704522
>
> You received this question notification because you asked the question.
>

Revision history for this message
Satish (satishnewdelhi99) said :
#3

Streamlit is working fine. But i am getting the file from streamlit.the
next process is haow to save the file in the system using os.system or
sys.pipe???.

On Tue, Jan 24, 2023, 1:16 PM Satish <email address hidden>
wrote:

> Your question #704522 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/704522
>
> Status: Answered => Open
>
> You are still having a problem:
> It is not related to streamlit
>
>
> On Tue, Jan 24, 2023, 1:05 PM Manfred Hampl <
> <email address hidden>> wrote:
>
> > Your question #704522 on Ubuntu changed:
> > https://answers.launchpad.net/ubuntu/+question/704522
> >
> > Status: Open => Answered
> >
> > Manfred Hampl proposed the following answer:
> > If you need help for using streamlit, then please ask at
> > https://discuss.streamlit.io/
> >
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> >
> https://answers.launchpad.net/ubuntu/+question/704522/+confirm?answer_id=0
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https://answers.launchpad.net/ubuntu/+question/704522
> >
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

Could use an SFTP upload rather than a web UI. Probably easier. Just have a scheduled task every 10 seconds to check for files then take action on them

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

Did you try the "wget" or "curl" commands?

Revision history for this message
Satish (satishnewdelhi99) said :
#6

SIr can you plz give idea how this works

On Tue, Jan 24, 2023 at 4:00 PM actionparsnip <
<email address hidden>> wrote:

> Your question #704522 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/704522
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> Could use an SFTP upload rather than a web UI. Probably easier. Just
> have a scheduled task every 10 seconds to check for files then take
> action on them
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/704522/+confirm?answer_id=3
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/704522
>
> You received this question notification because you asked the question.
>

Revision history for this message
Satish (satishnewdelhi99) said :
#7

No sir.But i don't have any idea how to proceed

On Tue, Jan 24, 2023 at 4:05 PM Manfred Hampl <
<email address hidden>> wrote:

> Your question #704522 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/704522
>
> Manfred Hampl proposed the following answer:
> Did you try the "wget" or "curl" commands?
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/704522/+confirm?answer_id=4
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/704522
>
> You received this question notification because you asked the question.
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

If you put files in a particular folder, then run your script, are they processed as expected?

Can you help with this problem?

Provide an answer of your own, or ask Satish for more information if necessary.

To post a message you must log in.